projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed single-step mode for mouse click events
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 0d28b40b2961e8774cd2cdea2d4f47feb68aa263..5e4e151fe3134c7548cce810dff6eb1f72fe7648 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-11210,7
+11210,8
@@
static void CheckSingleStepMode(struct PlayerInfo *player)
player stopped moving after one tile (or never starts moving at all) */
if (!player->is_moving &&
!player->is_pushing &&
player stopped moving after one tile (or never starts moving at all) */
if (!player->is_moving &&
!player->is_pushing &&
- !player->is_dropping_pressed)
+ !player->is_dropping_pressed &&
+ !player->effective_mouse_action.button)
TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);
}
TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);
}