Read baked offsets from the interpolation target

This commit is contained in:
yamamama 2025-11-16 00:51:44 -05:00
parent c37924428d
commit edbcfe3af8
2 changed files with 4 additions and 4 deletions

View file

@ -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,

View file

@ -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,