From: Holger Schemel Date: Fri, 20 Mar 2020 00:54:14 +0000 (+0100) Subject: fixed frame counter for EM engine for single step mode and engine snapshots X-Git-Tag: 4.2.0.0~60 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e8bfe523ee2136ad29a1c3534142883540e29e35;p=rocksndiamonds.git fixed frame counter for EM engine for single step mode and engine snapshots --- diff --git a/src/tools.c b/src/tools.c index 1dbc1a55..d358aed5 100644 --- a/src/tools.c +++ b/src/tools.c @@ -9040,7 +9040,7 @@ static void CheckSaveEngineSnapshot_EM(byte action[MAX_PLAYERS], int frame, boolean any_player_snapping, boolean any_player_dropping) { - if (frame == 0 && !any_player_dropping) + if (frame == 7 && !any_player_dropping) { if (!local_player->was_waiting) { @@ -9098,7 +9098,7 @@ void CheckSingleStepMode_EM(byte action[MAX_PLAYERS], int frame, boolean any_player_dropping) { if (tape.single_step && tape.recording && !tape.pausing) - if (frame == 0 && !any_player_dropping) + if (frame == 7 && !any_player_dropping) TapeTogglePause(TAPE_TOGGLE_AUTOMATIC); CheckSaveEngineSnapshot_EM(action, frame, any_player_moving,