int old_x = getx(cave, raw_x, raw_y);
int old_y = gety(cave, raw_x, raw_y);
- // only move game element if not already moving in that direction (or if buggy)
- if (game_bd.game->dir_buffer_to[old_y][old_x] != move_dir ||
+ // only move game element if not already moving (or if buggy)
+ if (game_bd.game->dir_buffer_to[old_y][old_x] == GD_MV_STILL ||
cave->conveyor_belts_buggy)
{
store(cave, old_x, old_y, O_SPACE); // place a space ...
int old_x = getx(cave, raw_x, raw_y);
int old_y = gety(cave, raw_x, raw_y);
- // only move game element if not already moving in that direction (or if buggy)
- if (game_bd.game->dir_buffer_to[old_y][old_x] != move_dir ||
+ // only move game element if not already moving (or if buggy)
+ if (game_bd.game->dir_buffer_to[old_y][old_x] == GD_MV_STILL ||
cave->conveyor_belts_buggy)
{
store(cave, old_x, old_y, O_SPACE); // place a space ...