From: Holger Schemel Date: Mon, 5 Dec 2022 21:45:43 +0000 (+0100) Subject: merged two conditions when attempting to quick-save tape X-Git-Tag: 4.3.3.0~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=22846a3ec9df44b291989369ae220060ecd57bcb;p=rocksndiamonds.git merged two conditions when attempting to quick-save tape --- diff --git a/src/tape.c b/src/tape.c index 71f707ce..c0939acd 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1185,16 +1185,13 @@ static void TapeSingleStep(void) void TapeQuickSave(void) { - if (game_status == GAME_MODE_MAIN) + if (game_status != GAME_MODE_PLAYING) { Request("No game that could be saved!", REQ_CONFIRM); return; } - if (game_status != GAME_MODE_PLAYING) - return; - if (!tape.recording) { Request("No recording that could be saved!", REQ_CONFIRM);