Fix titlemap* crash

This commit is contained in:
Jaime Passos 2019-09-10 18:34:29 -03:00
parent 347f9cda8b
commit 00f5cbb185

View file

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