EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
1.01k stars 192 forks source link

Player crashes when pushing decision button on top or bottom map borders #64

Closed fdelapena closed 11 years ago

fdelapena commented 11 years ago

You need to have player sprite orientation to the border. It looks like counter flag check gets some unexpected value.

In any case this check should be triggered because there is no events out of the map. Output:

easyrpg-player: game_map.cpp:348: bool Game_Map::IsCounter(int, int): Assertion `tile_id >= 10000' failed.
fdelapena commented 11 years ago

return false instead of using assert because it's valid to get null value to match RGSS.