}
}
+ 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)
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];