diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index f0c745a74..b74f66291 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -4913,9 +4913,9 @@ static void HWR_ProjectSprite(mobj_t *thing) const fixed_t visoffymul = (vflip ? -FRACUNIT : FRACUNIT); - if (R_ThingIsUsingBakedOffsets(thing)) + if (R_ThingIsUsingBakedOffsets(interptarg)) { - R_RotateSpriteOffsetsByPitchRoll(thing, + R_RotateSpriteOffsetsByPitchRoll(interptarg, vflip, hflip, &interp, diff --git a/src/r_things.cpp b/src/r_things.cpp index 483edd525..4b95b98cc 100644 --- a/src/r_things.cpp +++ b/src/r_things.cpp @@ -2000,9 +2000,9 @@ static void R_ProjectSprite(mobj_t *thing) const fixed_t visoffymul = (vflip ? -FRACUNIT : FRACUNIT); - if (R_ThingIsUsingBakedOffsets(thing)) + if (R_ThingIsUsingBakedOffsets(interptarg)) { - R_RotateSpriteOffsetsByPitchRoll(thing, + R_RotateSpriteOffsetsByPitchRoll(interptarg, vflip, hflip, &interp,