projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed code position of check when stopping tape recording
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index 0fef94eb6afd84fdea646903465a29b690c2861b..38edafc59d6503b61e167c97f1ec16c1f8aadbe5 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-637,9
+637,6
@@
static void TapeAppendRecording()
void TapeHaltRecording()
{
void TapeHaltRecording()
{
- if (!tape.recording)
- return;
-
tape.counter++;
// initialize delay for next tape entry (to be able to continue recording)
tape.counter++;
// initialize delay for next tape entry (to be able to continue recording)
@@
-653,7
+650,8
@@
void TapeHaltRecording()
void TapeStopRecording()
{
void TapeStopRecording()
{
- TapeHaltRecording();
+ if (tape.recording)
+ TapeHaltRecording();
tape.recording = FALSE;
tape.pausing = FALSE;
tape.recording = FALSE;
tape.pausing = FALSE;