mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Merge commit 'd491c62c7c16593b1e050ec5735bec53aa7948d3' into flats-png
This commit is contained in:
commit
6ea1501edc
1 changed files with 9 additions and 0 deletions
|
|
@ -1160,6 +1160,15 @@ void R_ReInitColormaps(UINT16 num)
|
||||||
lump = W_GetNumForName(colormap);
|
lump = W_GetNumForName(colormap);
|
||||||
if (lump == LUMPERROR)
|
if (lump == LUMPERROR)
|
||||||
lump = W_GetNumForName("COLORMAP");
|
lump = W_GetNumForName("COLORMAP");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (W_LumpLength(lump) > W_LumpLength(W_GetNumForName("COLORMAP")))
|
||||||
|
{
|
||||||
|
CONS_Alert(CONS_WARNING, "%s lump size is too big, using COLORMAP.\n", colormap);
|
||||||
|
lump = W_GetNumForName("COLORMAP");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
W_ReadLump(lump, colormaps);
|
W_ReadLump(lump, colormaps);
|
||||||
|
|
||||||
// Init Boom colormaps.
|
// Init Boom colormaps.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue