added step-based engine snapshots to undo/redo game steps
[rocksndiamonds.git] / src / game_em / synchro_1.c
index f09fc84819a0657ad872adc5bc533bbf926cc3f7..7b2e9c807a8387a9554692ed8a91f96d6be8a3b6 100644 (file)
@@ -23,6 +23,7 @@ void synchro_1(void)
   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++)
@@ -460,7 +461,7 @@ static void check_player(struct PLAYER *ply)
   }
   else                                 /* player wants to snap */
   {
-    player_digfield(ply, dx, dy);
+    game_em.any_player_snapping = player_digfield(ply, dx, dy);
   }
 }