diff options
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,7 +31,8 @@ game_update(Game *this) } if (this->queue_next_scene) { this->queue_next_scene = false; - this->player_dir = game_get_entity(this, ET_exit)->exit.dir; + this->player_dir = game_get_entity(this, + entity_type("exit"))->exit.dir; map_next(); game_restart_scene(this); return; |