Read baked offsets from the interpolation target
This commit is contained in:
parent
c37924428d
commit
edbcfe3af8
2 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue