From 69228715febca47155be8c0509c8fd2dc628570b Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 17 Nov 2018 16:54:56 +0000 Subject: [PATCH] Make level white fade use timeinmap instead of leveltime --- src/st_stuff.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index 06890368..8aefb33b 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -2060,11 +2060,11 @@ void ST_Drawer(void) } // 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 else - V_DrawFadeScreen(120, 15-leveltime); // Then gradually fade out from there + V_DrawFadeScreen(120, 15-timeinmap); // Then gradually fade out from there } }