From: Holger Schemel Date: Mon, 30 Mar 2015 11:02:40 +0000 (+0200) Subject: improved step-based engine snapshots for single-step mode X-Git-Tag: 4.0.0.0-rc1~222 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=ca2a6ad31f7d41df73e3a45800eb92f7924c446c;p=rocksndiamonds.git improved step-based engine snapshots for single-step mode --- diff --git a/src/game.c b/src/game.c index 02861925..eeb12767 100644 --- a/src/game.c +++ b/src/game.c @@ -15011,6 +15011,8 @@ void GameUndoRedoExt() DrawCompleteVideoDisplay(); DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime); DrawVideoDisplay(VIDEO_STATE_FRAME_ON, FrameCounter); + DrawVideoDisplay((tape.single_step ? VIDEO_STATE_1STEP_ON : + VIDEO_STATE_1STEP_OFF), 0); BackToFront(); } diff --git a/src/tape.c b/src/tape.c index a14690d3..ded004fc 100644 --- a/src/tape.c +++ b/src/tape.c @@ -746,7 +746,7 @@ void TapeTogglePause(boolean toggle_manual) if (tape.pausing) MapUndoRedoButtons(); - else + else if (!tape.single_step) MapStopPlayButtons(); }