projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc1cfd1
)
small move of code block
author
Holger Schemel
<info@artsoft.org>
Thu, 2 Jun 2016 06:02:14 +0000
(08:02 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 2 Jun 2016 06:02:14 +0000
(08:02 +0200)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index ff5f6199ef6f5c482e5d75d8cbb32a644a92b71a..4bc245234c81d607ab1eb566a24dbc8902b8c7d0 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-785,6
+785,16
@@
byte *TapePlayAction()
}
}
}
}
+ if (tape.counter >= tape.length) /* end of tape reached */
+ {
+ if (tape.warp_forward && !tape.auto_play)
+ TapeTogglePause(TAPE_TOGGLE_MANUAL);
+ else
+ TapeStop();
+
+ return NULL;
+ }
+
if (update_video_display && !tape.deactivate_display)
{
if (tape.pause_before_end)
if (update_video_display && !tape.deactivate_display)
{
if (tape.pause_before_end)
@@
-796,16
+806,6
@@
byte *TapePlayAction()
DrawVideoDisplaySymbol(VIDEO_STATE_WARP2_ON);
}
DrawVideoDisplaySymbol(VIDEO_STATE_WARP2_ON);
}
- if (tape.counter >= tape.length) /* end of tape reached */
- {
- if (tape.warp_forward && !tape.auto_play)
- TapeTogglePause(TAPE_TOGGLE_MANUAL);
- else
- TapeStop();
-
- return NULL;
- }
-
for (i = 0; i < MAX_PLAYERS; i++)
action[i] = tape.pos[tape.counter].action[i];
for (i = 0; i < MAX_PLAYERS; i++)
action[i] = tape.pos[tape.counter].action[i];