projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d73c8c
)
fixed trying to quick-save tape when playing game without recording
author
Holger Schemel
<info@artsoft.org>
Sat, 26 Nov 2022 10:27:30 +0000
(11:27 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 26 Nov 2022 10:28:53 +0000
(11:28 +0100)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index 4efba84a76f7c05072ca49121845334cc744b940..6b3523d419d4cf9b4a2ea8be3d2494409d92ae48 100644
(file)
--- 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