projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed trying to quick-save tape when playing game without recording
[rocksndiamonds.git]
/
src
/
tape.c
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