+ boolean use_smooth_movements =
+ ((setup.bd_smooth_movements == TRUE) ||
+ (setup.bd_smooth_movements == AUTO && !use_native_bd_graphics_engine()));
+
+ // do not use smooth movement animation for exploding game elements (like player)
+ if (is_explosion(tile) && dir != GD_MV_STILL)
+ use_smooth_movements = FALSE;
+
+ // do not use smooth movement animation for player entering exit (engine stopped)
+ if (cave->player_state == GD_PL_EXITED)
+ use_smooth_movements = FALSE;