mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-21 21:11:21 +00:00
P_RunOverlays: copy punted state from target
This commit is contained in:
parent
1a78e55f4c
commit
7aa5b47851
1 changed files with 3 additions and 0 deletions
|
|
@ -5434,6 +5434,9 @@ void P_RunOverlays(void)
|
|||
mo->scale = mo->destscale = FixedMul(mo->target->scale, mo->movefactor);
|
||||
mo->angle = (mo->target->player ? mo->target->player->drawangle : mo->target->angle) + mo->movedir;
|
||||
|
||||
P_SetTarget(&mo->punt_ref, mo->target->punt_ref);
|
||||
mo->reappear = mo->target->reappear;
|
||||
|
||||
if (!(mo->threshold & OV_DONTSCREENOFFSET))
|
||||
{
|
||||
mo->spritexoffset = mo->target->spritexoffset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue