fix minimap not being initialised

causes issues when you switch to maps that dont have a minimap
This commit is contained in:
Alug committed 2024-11-01 18:39:36 +01:00
1 parent b21776183e
commit b1f99f8d2f
1 file changed
+2
+2
View File
@@ -2494,6 +2494,8 @@ static void P_InitMinimapInfo(void)
fixed_t a;
fixed_t b;
node_t *bsp = &nodes[numnodes-1];
minimapinfo.minimap_pic = NULL;
lumpnum = W_CheckNumForName(va("%sR", G_BuildMapName(gamemap)));
if (lumpnum != -1)