mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Fix the Kart Krew intro so that it ends automatically again.
This commit is contained in:
parent
0845547f47
commit
e1e48b71e2
1 changed files with 25 additions and 3 deletions
|
@ -277,9 +277,6 @@ void F_IntroDrawer(void)
|
|||
|
||||
W_UnlockCachedPatch(background);
|
||||
|
||||
if (animtimer)
|
||||
animtimer--;
|
||||
|
||||
V_DrawString(cx, cy, 0, cutscene_disptext);
|
||||
}
|
||||
|
||||
|
@ -298,6 +295,31 @@ void F_IntroTicker(void)
|
|||
|
||||
if (intro_scenenum == 0)
|
||||
{
|
||||
if (timetonext <= 0)
|
||||
{
|
||||
intro_scenenum++;
|
||||
if (rendermode != render_none)
|
||||
{
|
||||
F_WipeStartScreen();
|
||||
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, 31);
|
||||
F_WipeEndScreen();
|
||||
F_RunWipe(99,true);
|
||||
}
|
||||
|
||||
// Stay on black for a bit. =)
|
||||
{
|
||||
tic_t quittime;
|
||||
quittime = I_GetTime() + NEWTICRATE*2; // Shortened the quit time, used to be 2 seconds
|
||||
while (quittime > I_GetTime())
|
||||
{
|
||||
I_Sleep(cv_sleep.value);
|
||||
I_UpdateTime(cv_timescale.value);
|
||||
}
|
||||
}
|
||||
|
||||
D_StartTitle();
|
||||
return;
|
||||
}
|
||||
if (finalecount == 8)
|
||||
S_StartSound(NULL, sfx_vroom);
|
||||
else if (finalecount == 47)
|
||||
|
|
Loading…
Reference in a new issue