fix affine rotation not flipping in gravity flip

this matches software now
This commit is contained in:
minenice55 2026-05-02 16:11:17 -04:00
parent b9eb26f55e
commit aa585e00c7

View file

@ -1781,7 +1781,7 @@ static void HWR_ProjectSprite(mobj_t *thing)
float base_topoffs = FIXED_TO_FLOAT(spr_topoffset);
#ifdef ROTSPRITE
spriterotangle = R_SpriteRotationAngle(thing, NULL, &interp, false);
spriterotangle = R_SpriteRotationAngle(thing, NULL, &interp, (affinesprite && vflip));
if (spriterotangle != 0
&& !(splat && !(thing->renderflags & RF_NOSPLATROLLANGLE))