mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'introfadefix' into 'master'
Make level white fade use timeinmap instead of leveltime See merge request KartKrew/Kart!93
This commit is contained in:
commit
42324a9a03
1 changed files with 3 additions and 3 deletions
|
|
@ -2060,11 +2060,11 @@ void ST_Drawer(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw a white fade on level opening
|
// Draw a white fade on level opening
|
||||||
if (leveltime < 15)
|
if (timeinmap < 15)
|
||||||
{
|
{
|
||||||
if (leveltime <= 5)
|
if (timeinmap <= 5)
|
||||||
V_DrawFill(0,0,BASEVIDWIDTH,BASEVIDHEIGHT,120); // Pure white on first few frames, to hide SRB2's awful level load artifacts
|
V_DrawFill(0,0,BASEVIDWIDTH,BASEVIDHEIGHT,120); // Pure white on first few frames, to hide SRB2's awful level load artifacts
|
||||||
else
|
else
|
||||||
V_DrawFadeScreen(120, 15-leveltime); // Then gradually fade out from there
|
V_DrawFadeScreen(120, 15-timeinmap); // Then gradually fade out from there
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue