merged two conditions when attempting to quick-save tape
authorHolger Schemel <info@artsoft.org>
Mon, 5 Dec 2022 21:45:43 +0000 (22:45 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 5 Dec 2022 21:45:43 +0000 (22:45 +0100)
src/tape.c

index 71f707ced8a8ed3e1ade522fbb0940379c54f387..c0939acd8dbd87c752c4aa143dfa203d37d60182 100644 (file)
@@ -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);