mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: Flat sprites did not rotate their sprite angles when given the FLATSPRITE flag.
This commit is contained in:
parent
4b127c7fcc
commit
d3ef3b585b
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ void GLSprite::Process(AActor* thing, sector_t * sector, int thruportal)
|
||||||
{
|
{
|
||||||
DAngle sprangle;
|
DAngle sprangle;
|
||||||
int rot;
|
int rot;
|
||||||
if (!(thing->renderflags & RF_FLATSPRITE))
|
if (!(thing->renderflags & RF_FLATSPRITE) || thing->flags7 & MF7_SPRITEANGLE)
|
||||||
{
|
{
|
||||||
sprangle = thing->GetSpriteAngle(ang, r_viewpoint.TicFrac);
|
sprangle = thing->GetSpriteAngle(ang, r_viewpoint.TicFrac);
|
||||||
rot = -1;
|
rot = -1;
|
||||||
|
|
Loading…
Reference in a new issue