I'm still an idiot

This commit is contained in:
James R 2019-12-29 02:16:37 -08:00
parent 2ffff56b39
commit 0a014755b9
1 changed files with 2 additions and 1 deletions

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;