Fix title screen crash

This commit is contained in:
Jaime Passos 2019-09-10 18:33:06 -03:00
parent f0019f2b2a
commit 347f9cda8b
1 changed files with 1 additions and 1 deletions

View File

@ -1155,7 +1155,7 @@ void R_RenderPlayerView(player_t *player)
void R_InitHardwareMode(void)
{
HWR_AddCommands();
if (gamestate == GS_LEVEL)
if (gamestate == GS_LEVEL || gamestate == GS_TITLESCREEN)
{
HWR_SetupLevel();
HWR_PrepLevelCache(numtextures);