I'm still an idiot

This commit is contained in:
James R 2019-12-29 02:16:37 -08:00
parent 0004f47f94
commit 69535cf202

View file

@ -4580,7 +4580,8 @@ INT32 G_FindMapByNameOrCode(const char *mapname, char **realmapnamep)
if (usemapcode)
{
(*realmapnamep) = G_BuildMapTitle(newmapnum);
if (realmapnamep)
(*realmapnamep) = G_BuildMapTitle(newmapnum);
}
return newmapnum;