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:29:23 +01:00
1 parent 8f508b6cd8
commit cd7698ffba
1 file changed
+2
+2
View File
@@ -2444,6 +2444,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)