Fix instant crash on startup in OpenGL

This commit is contained in:
Sryder 2020-08-18 15:58:28 +01:00
parent ac68aeae2b
commit 3c10405852

View file

@ -821,7 +821,7 @@ void D_SRB2Loop(void)
*/
/* Smells like a hack... Don't fade Sonic's ass into the title screen. */
if (gamestate != GS_TITLESCREEN)
V_DrawFixedPatch(0, 0, FRACUNIT/2, 0, (patch_t *)W_CacheLumpNum(W_GetNumForName("KARTKREW"), PU_CACHE), NULL);
V_DrawScaledPatch(0, 0, FRACUNIT/2, W_CachePatchNum(W_GetNumForName("KARTKREW"), PU_PATCH));
for (;;)
{