code downscale

This commit is contained in:
yellowtd 2017-03-11 20:07:29 -05:00
parent 2247de431c
commit 14e695537a

View file

@ -483,20 +483,17 @@ static void D_Display(void)
if (rendermode != render_none) if (rendermode != render_none)
{ {
// miru: we can use the mapheaderinfo to change the forced wipe the instant the map loads // miru: we can use the mapheaderinfo to change the forced wipe the instant the map loads
if (!mapheaderinfo[gamemap-1]->postlevelwipe) if (mapheaderinfo[gamemap-1]->postlevelwipe && mapheaderinfo[gamemap-1]->postlevelwipe < 100)
{ {
F_WipeEndScreen(); F_WipeStartScreen();
F_RunWipe(wipedefs[wipedefindex], gamestate != GS_TIMEATTACK); V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, mapheaderinfo[gamemap-1]->wipecolor);
} F_WipeEndScreen();
else F_RunWipe(mapheaderinfo[gamemap-1]->postlevelwipe, gamestate != GS_TIMEATTACK);
{ }
if (mapheaderinfo[gamemap-1]->postlevelwipe < 100) else
{ {
F_WipeStartScreen(); F_WipeEndScreen();
V_DrawFill(0, 0, BASEVIDWIDTH, BASEVIDHEIGHT, mapheaderinfo[gamemap-1]->wipecolor); F_RunWipe(wipedefs[wipedefindex], gamestate != GS_TIMEATTACK);
F_WipeEndScreen();
F_RunWipe(mapheaderinfo[gamemap-1]->postlevelwipe, gamestate != GS_TIMEATTACK);
}
} }
} }
} }