projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added another configuration option for global animation properties
[rocksndiamonds.git]
/
src
/
game_em
/
synchro_1.c
diff --git
a/src/game_em/synchro_1.c
b/src/game_em/synchro_1.c
index f09fc84819a0657ad872adc5bc533bbf926cc3f7..7b2e9c807a8387a9554692ed8a91f96d6be8a3b6 100644
(file)
--- a/
src/game_em/synchro_1.c
+++ b/
src/game_em/synchro_1.c
@@
-23,6
+23,7
@@
void synchro_1(void)
int i;
game_em.any_player_moving = FALSE;
int i;
game_em.any_player_moving = FALSE;
+ game_em.any_player_snapping = FALSE;
/* must test for death and actually kill separately */
for (i = 0; i < MAX_PLAYERS; i++)
/* must test for death and actually kill separately */
for (i = 0; i < MAX_PLAYERS; i++)
@@
-460,7
+461,7
@@
static void check_player(struct PLAYER *ply)
}
else /* player wants to snap */
{
}
else /* player wants to snap */
{
- player_digfield(ply, dx, dy);
+
game_em.any_player_snapping =
player_digfield(ply, dx, dy);
}
}
}
}