Don't accelerate BOOM colormaped player sprites

- Fixed: Player weapons ignored BOOM colormaps when accelerated.
This commit is contained in:
Randy Heit 2015-03-26 21:46:14 -05:00
parent 32a55c9229
commit 93c7f4b4b5

View file

@ -1359,6 +1359,11 @@ void R_DrawPSprite (pspdef_t* psp, int pspnum, AActor *owner, fixed_t sx, fixed_
{
noaccel = true;
}
// If drawing with a BOOM colormap, disable acceleration.
if (mybasecolormap == &NormalLight && NormalLight.Maps != realcolormaps)
{
noaccel = true;
}
// 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 && realfixedcolormap == NULL &&