mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Replace INT16_MAX with LUMPERROR in lump check.
This commit is contained in:
parent
0edb23eaf7
commit
73698c70aa
1 changed files with 1 additions and 1 deletions
|
|
@ -3536,7 +3536,7 @@ boolean P_LoadLevel(boolean fromnetsave)
|
|||
// internal game map
|
||||
maplumpname = G_BuildMapName(gamemap);
|
||||
lastloadedmaplumpnum = W_CheckNumForName(maplumpname);
|
||||
if (lastloadedmaplumpnum == INT16_MAX)
|
||||
if (lastloadedmaplumpnum == LUMPERROR)
|
||||
I_Error("Map %s not found.\n", maplumpname);
|
||||
|
||||
R_ReInitColormaps(mapheaderinfo[gamemap-1]->palette);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue