projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa87bc
)
fixed player entering pot when using smooth movement
author
Holger Schemel
<holger.schemel@virtion.de>
Sat, 25 May 2024 20:17:19 +0000
(22:17 +0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Sat, 25 May 2024 20:17:19 +0000
(22:17 +0200)
src/game_bd/bd_graphics.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_graphics.c
b/src/game_bd/bd_graphics.c
index 9060aae3247d1fcfa8145c83b6fa38b31ad1cd0e..fb702375886ec86b17faa1914a0706d97ed019cd 100644
(file)
--- 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)
{