From: Holger Schemel Date: Sat, 25 May 2024 20:17:19 +0000 (+0200) Subject: fixed player entering pot when using smooth movement X-Git-Tag: 4.4.0.0-test-2~13 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=2fcb3bc570e89514d8210f3daf3918df80283b9e;p=rocksndiamonds.git fixed player entering pot when using smooth movement --- diff --git a/src/game_bd/bd_graphics.c b/src/game_bd/bd_graphics.c index 9060aae3..fb702375 100644 --- a/src/game_bd/bd_graphics.c +++ b/src/game_bd/bd_graphics.c @@ -636,6 +636,10 @@ static void gd_drawcave_tile(Bitmap *dest, GdGame *game, int x, int y, boolean d if (cave->player_state == GD_PL_EXITED) use_smooth_movements = FALSE; + // do not use smooth movement animation for player stirring the pot + if (tile == O_PLAYER_STIRRING) + use_smooth_movements = FALSE; + #if DO_GFX_SANITY_CHECK if (use_native_bd_graphics_engine() && !setup.small_game_graphics && !program.headless) {