projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug when using Shift+click (IntelliDraw) in editor using empty space
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 52ea43293cebaf68c232005cd88121809568ab26..30ebdd17314ead1a30e8a90f51ba9e6125d02f94 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-3402,6
+3402,7
@@
void InitGame(void)
player->action = 0;
player->effective_action = 0;
player->programmed_action = 0;
player->action = 0;
player->effective_action = 0;
player->programmed_action = 0;
+ player->snap_action = 0;
player->mouse_action.lx = 0;
player->mouse_action.ly = 0;
player->mouse_action.lx = 0;
player->mouse_action.ly = 0;
@@
-11058,10
+11059,7
@@
static void CheckSingleStepMode(struct PlayerInfo *player)
if (!player->is_moving &&
!player->is_pushing &&
!player->is_dropping_pressed)
if (!player->is_moving &&
!player->is_pushing &&
!player->is_dropping_pressed)
- {
TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);
TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);
- SnapField(player, 0, 0); // stop snapping
- }
}
CheckSaveEngineSnapshot(player);
}
CheckSaveEngineSnapshot(player);