Merge branch 'titlescreen-connect-crash-fix' into 'master'

Fix crash when using the -connect startup paramater (Resolves #292)

Closes #292

See merge request STJr/SRB2Internal!478
This commit is contained in:
MascaraSnake 2019-11-16 03:54:49 -05:00
commit 755683171a

View file

@ -2591,6 +2591,10 @@ void F_TitleScreenDrawer(void)
if (gamestate != GS_TITLESCREEN && gamestate != GS_WAITINGPLAYERS)
return;
// Don't draw if title mode is set to Old/None and the patch isn't there
if (!ttwing && (curttmode == TTMODE_OLD || curttmode == TTMODE_NONE))
return;
// rei|miru: use title pics?
hidepics = curhidepics;
if (hidepics)