Commit 24c234f9 by Sal

Merge branch 'ensure-map-title-level-header' into 'next'

Allocate non-existent level header for G_BuildMapTitle See merge request !252
parents ffec5f63 3be489f6
......@@ -4714,6 +4714,9 @@ char *G_BuildMapTitle(INT32 mapnum)
if (mapnum == 0)
return Z_StrDup("Random");
if (!mapheaderinfo[mapnum-1])
if (strcmp(mapheaderinfo[mapnum-1]->lvlttl, ""))
size_t len = 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment