Fix titlemap* crash

This commit is contained in:
Jaime Passos 2019-09-10 18:34:29 -03:00
parent 347f9cda8b
commit 00f5cbb185
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 || gamestate == GS_TITLESCREEN)
if (gamestate == GS_LEVEL || (gamestate == GS_TITLESCREEN && titlemapinaction))
{
HWR_SetupLevel();
HWR_PrepLevelCache(numtextures);