From d3ef3b585bb9ba80706a73cd5f5bb6599d65e0b1 Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Mon, 3 Apr 2017 09:10:41 -0500 Subject: [PATCH] - fixed: Flat sprites did not rotate their sprite angles when given the FLATSPRITE flag. --- src/gl/scene/gl_sprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index 0725156b3..1c25fe4cc 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -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;