fix inverted papersprite roll

oopsie
This commit is contained in:
Alug committed 2024-12-14 16:53:31 +01:00
1 parent cb97973b1c
commit accc9890df
1 file changed
+4 -12
+4 -12
View File
@@ -4598,18 +4598,10 @@ static void HWR_ProjectSprite(mobj_t *thing)
#ifdef ROTSPRITE
if (shouldrotate)
{
if (papersprite)
{
// a positive rollangle should should pitch papersprites upwards relative to their facing angle
rollangle = InvAngle(thing->rollangle);
}
else
{
// this is very messy, but it on-the-fly calculates rotations for all the
// pitch and roll variables
pitchnroll = R_RotationAngle(ang, camang, &interp);
rollangle = thing->rollangle;
}
// this is very messy, but it on-the-fly calculates rotations for all the
// pitch and roll variables
pitchnroll = R_RotationAngle(ang, camang, &interp);
rollangle = thing->rollangle;
if (rollangle || pitchnroll || sliprollrotate)
{