mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Replace INT16_MAX with LUMPERROR in lump check.
This commit is contained in:
parent
7ae2143c91
commit
f9d6e26558
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…
Reference in a new issue