projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merged two conditions when attempting to quick-save tape
[rocksndiamonds.git]
/
src
/
tape.c
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)
{
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;
}
{
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);
if (!tape.recording)
{
Request("No recording that could be saved!", REQ_CONFIRM);