- Fixed: When the player sprite is being drawn with a fixed colormap, hardware acceleration

should not be disabled when the regular colormap has lights that stay bright throughout.

SVN r4001 (trunk)
This commit is contained in:
Randy Heit 2012-12-22 02:57:35 +00:00
parent 682c7d2a8a
commit 21ada0b3f6

View file

@ -1104,7 +1104,7 @@ void R_DrawPSprite (pspdef_t* psp, int pspnum, AActor *owner, fixed_t sx, fixed_
}
// If the main colormap has fixed lights, and this sprite is being drawn with that
// colormap, disable acceleration so that the lights can remain fixed.
if (!noaccel &&
if (!noaccel && realfixedcolormap == NULL &&
NormalLightHasFixedLights && mybasecolormap == &NormalLight &&
vis->pic->UseBasePalette())
{