From: Holger Schemel Date: Sat, 26 Nov 2022 10:27:30 +0000 (+0100) Subject: fixed trying to quick-save tape when playing game without recording X-Git-Tag: 4.3.3.0~8 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=a636b6d7a155972b6fdf5b4b8b0ffac20308f845;p=rocksndiamonds.git fixed trying to quick-save tape when playing game without recording --- diff --git a/src/tape.c b/src/tape.c index 4efba84a..6b3523d4 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1195,6 +1195,13 @@ void TapeQuickSave(void) if (game_status != GAME_MODE_PLAYING) return; + if (!tape.recording) + { + Request("No recording that can be saved!", REQ_CONFIRM); + + return; + } + if (tape.recording) TapeHaltRecording(); // prepare tape for saving on-the-fly