fixed bug with not marking tape as changed after adding action or delay
[rocksndiamonds.git] / src / tape.c
index c0939acd8dbd87c752c4aa143dfa203d37d60182..fb00fcd561e7fdc220ff2ac5b14422dcaf3f707d 100644 (file)
@@ -834,6 +834,8 @@ boolean TapeAddAction(byte action[MAX_TAPE_ACTIONS])
     tape.pos[tape.counter].delay++;
   }
 
+  tape.changed = TRUE;
+
   return TRUE;
 }
 
@@ -1199,8 +1201,7 @@ void TapeQuickSave(void)
     return;
   }
 
-  if (tape.recording)
-    TapeHaltRecording();       // prepare tape for saving on-the-fly
+  TapeHaltRecording();         // prepare tape for saving on-the-fly
 
   if (TAPE_IS_EMPTY(tape))
   {