This fixes the player graphic getting stuck when entering the exit
under certain circumstances while using ultra-fast player speed.
This bug is described in the following forum topic:
https://www.artsoft.org/forum/viewtopic.php?t=3328
}
}
- player->last_jx = jx;
- player->last_jy = jy;
-
if (Tile[jx][jy] == EL_EXIT_OPEN ||
Tile[jx][jy] == EL_EM_EXIT_OPEN ||
Tile[jx][jy] == EL_EM_EXIT_OPENING ||
LevelSolved();
}
+ player->last_jx = jx;
+ player->last_jy = jy;
+
// this breaks one level: "machine", level 000
{
int move_direction = player->MovDir;