fixed entering single step pause mode before processing first EM game cycle
authorHolger Schemel <info@artsoft.org>
Mon, 21 Dec 2020 22:50:28 +0000 (23:50 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 21 Dec 2020 22:50:28 +0000 (23:50 +0100)
src/tools.c

index a042e88fe91f7c84bcb914da569720cd63036612..2157ef740c812d23b87ba6cb453781c2eec7b877 100644 (file)
@@ -9097,7 +9097,7 @@ boolean CheckSingleStepMode_EM(byte action[MAX_PLAYERS], int frame,
                               boolean any_player_dropping)
 {
   if (tape.single_step && tape.recording && !tape.pausing)
-    if (frame == 7 && !any_player_dropping)
+    if (frame == 7 && !any_player_dropping && FrameCounter > 6)
       TapeTogglePause(TAPE_TOGGLE_AUTOMATIC);
 
   CheckSaveEngineSnapshot_EM(action, frame, any_player_moving,