From: Holger Schemel Date: Thu, 22 Feb 2024 21:58:32 +0000 (+0100) Subject: disabled smooth movement for player entering exit in BD engine X-Git-Tag: 4.4.0.0-test-1~316 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=f288729146c5882b01fa2ecfceb70870b5c47fca;p=rocksndiamonds.git disabled smooth movement for player entering exit in BD engine --- diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index 3d781919..62981ec8 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -332,6 +332,10 @@ static void gd_drawcave_tile(Bitmap *dest, GdGame *game, int x, int y, boolean d 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; + #if DO_GFX_SANITY_CHECK if (use_native_bd_graphics_engine() && !setup.small_game_graphics && !program.headless) {