projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with not marking tape as changed after adding action or delay
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index c0939acd8dbd87c752c4aa143dfa203d37d60182..fb00fcd561e7fdc220ff2ac5b14422dcaf3f707d 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-834,6
+834,8
@@
boolean TapeAddAction(byte action[MAX_TAPE_ACTIONS])
tape.pos[tape.counter].delay++;
}
tape.pos[tape.counter].delay++;
}
+ tape.changed = TRUE;
+
return TRUE;
}
return TRUE;
}
@@
-1199,8
+1201,7
@@
void TapeQuickSave(void)
return;
}
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))
{
if (TAPE_IS_EMPTY(tape))
{