mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Who cares?
This commit is contained in:
parent
08016fbdca
commit
0004f47f94
1 changed files with 2 additions and 6 deletions
|
|
@ -4555,12 +4555,8 @@ INT32 G_FindMapByNameOrCode(const char *mapname, char **realmapnamep)
|
||||||
}
|
}
|
||||||
else if (mapnamelen == 5 && strnicmp(mapname, "MAP", 3) == 0)
|
else if (mapnamelen == 5 && strnicmp(mapname, "MAP", 3) == 0)
|
||||||
{
|
{
|
||||||
if (( newmapnum = M_MapNumber(mapname[3], mapname[4]) ) == 0)
|
if (( newmapnum = M_MapNumber(mapname[3], mapname[4]) ))
|
||||||
{
|
usemapcode = true;
|
||||||
CONS_Alert(CONS_ERROR, M_GetText("Invalid map code '%s'.\n"), mapname);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
usemapcode = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!usemapcode)
|
if (!usemapcode)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue