mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Change COLORMAP lump size check to be exact
A lower size could technically be valid, but could easily run into strange issues.
This commit is contained in:
parent
ac80cc3834
commit
1aa03c01dc
1 changed files with 2 additions and 2 deletions
|
|
@ -1064,9 +1064,9 @@ void R_ReInitColormaps(UINT16 num)
|
|||
lump = W_GetNumForName("COLORMAP");
|
||||
else
|
||||
{
|
||||
if (W_LumpLength(lump) > W_LumpLength(W_GetNumForName("COLORMAP")))
|
||||
if (W_LumpLength(lump) != W_LumpLength(W_GetNumForName("COLORMAP")))
|
||||
{
|
||||
CONS_Alert(CONS_WARNING, "%s lump size is too big, using COLORMAP.\n", colormap);
|
||||
CONS_Alert(CONS_WARNING, "%s lump size does not match COLORMAP, using COLORMAP instead.\n", colormap);
|
||||
lump = W_GetNumForName("COLORMAP");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue