projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2172e3d
)
merged two conditions when attempting to quick-save tape
author
Holger Schemel
<info@artsoft.org>
Mon, 5 Dec 2022 21:45:43 +0000
(22:45 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 5 Dec 2022 21:45:43 +0000
(22:45 +0100)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index 71f707ced8a8ed3e1ade522fbb0940379c54f387..c0939acd8dbd87c752c4aa143dfa203d37d60182 100644
(file)
--- 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);