fixed: if we allow long names for the fade table we must also check for them when the colormap gets loaded.

This commit is contained in:
Christoph Oelckers 2014-05-13 11:39:25 +02:00
parent 65e8563cf4
commit fedf9c6a5b

View file

@ -396,7 +396,7 @@ void R_SetDefaultColormap (const char *name)
BYTE unremap[256]; BYTE unremap[256];
BYTE remap[256]; BYTE remap[256];
lump = Wads.CheckNumForName (name, ns_colormaps); lump = Wads.CheckNumForFullName (name, true, ns_colormaps);
if (lump == -1) if (lump == -1)
lump = Wads.CheckNumForName (name, ns_global); lump = Wads.CheckNumForName (name, ns_global);