X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=2c600226716fcdb2988c5f7381b5dcbeb0116078;hb=a4bf969413cdda68ab8bb54a2a1181bdc09cf63a;hp=6b43d3186cd24d3f199579829bde2bc7d59afa66;hpb=cd56ad175c592ea3047703d57c11d2f3a61f7f37;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index 6b43d318..2c600226 100644 --- a/src/tape.c +++ b/src/tape.c @@ -113,7 +113,7 @@ void TapeTogglePause() tape.pause_before_death = FALSE; DrawVideoDisplay((tape.pausing ? VIDEO_STATE_PAUSE_ON : - VIDEO_STATE_PAUSE_OFF), + VIDEO_STATE_PAUSE_OFF) | VIDEO_STATE_PBEND_OFF, 0); } @@ -187,12 +187,12 @@ boolean TapePlayDelay() if (tape.pause_before_death) /* STOP 10s BEFORE PLAYER GETS KILLED... */ { - if (!(FrameCounter % 5)) + if (!(FrameCounter % 20)) { - if (2*(FrameCounter/10) == FrameCounter/5) - DrawVideoDisplay(VIDEO_STATE_PAUSE_ON, VIDEO_DISPLAY_LABEL_ONLY); + if ((FrameCounter / 20) % 2) + DrawVideoDisplay(VIDEO_STATE_PBEND_ON, VIDEO_DISPLAY_LABEL_ONLY); else - DrawVideoDisplay(VIDEO_STATE_PAUSE_OFF, VIDEO_DISPLAY_LABEL_ONLY); + DrawVideoDisplay(VIDEO_STATE_PBEND_OFF, VIDEO_DISPLAY_LABEL_ONLY); } if (level.time-TimeLeft > tape.length_seconds - PAUSE_SECONDS_BEFORE_DEATH)