- fixed: Flat sprites did not rotate their sprite angles when given the FLATSPRITE flag.

This commit is contained in:
Major Cooke 2017-04-03 09:10:41 -05:00 committed by Christoph Oelckers
parent 4b127c7fcc
commit d3ef3b585b

View file

@ -789,7 +789,7 @@ void GLSprite::Process(AActor* thing, sector_t * sector, int thruportal)
{
DAngle sprangle;
int rot;
if (!(thing->renderflags & RF_FLATSPRITE))
if (!(thing->renderflags & RF_FLATSPRITE) || thing->flags7 & MF7_SPRITEANGLE)
{
sprangle = thing->GetSpriteAngle(ang, r_viewpoint.TicFrac);
rot = -1;