From: Holger Schemel Date: Mon, 21 Dec 2020 22:50:28 +0000 (+0100) Subject: fixed entering single step pause mode before processing first EM game cycle X-Git-Tag: 4.2.2.0~15 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=767b12942c5c43449b74e647cd113535d74cfd24;p=rocksndiamonds.git fixed entering single step pause mode before processing first EM game cycle --- diff --git a/src/tools.c b/src/tools.c index a042e88f..2157ef74 100644 --- a/src/tools.c +++ b/src/tools.c @@ -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,