I'm still an idiot

(cherry picked from commit 0a014755b98fb909aed4a12feba00744bc2af225)
This commit is contained in:
James R 2019-12-29 02:16:37 -08:00
parent 9a2ff50f5a
commit 9885ab164a

View file

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