Only draw fading-in and fading-out animations in MAPMODE

This makes it so if you bring up the quit screen during a faded-out
screen, you will at least see the screen and won't see black. And also
the fade-in and fade-out animations will still work on the quit screen.
And more importantly, I tested and there's no 1-frame flicker or
anything.
This commit is contained in:
Misa
2020-05-07 15:53:12 -07:00
committed by Ethan Lee
parent 3235b64d19
commit 82d19145ae

View File

@@ -2460,7 +2460,10 @@ void maprender()
graphics.drawfade(); if (graphics.fademode == 3 || graphics.fademode == 5)
{
graphics.drawfade();
}
if (graphics.resumegamemode) if (graphics.resumegamemode)
{ {