- 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
1 changed files with 1 additions and 1 deletions

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;