mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-17 04:02:50 +00:00
Fix player afterimages not using correct angle on bounce pads or spinout
This commit is contained in:
parent
5ee5fe0f56
commit
5520c34810
1 changed files with 5 additions and 1 deletions
|
|
@ -1543,7 +1543,11 @@ mobj_t *P_SpawnGhostMobj(mobj_t *mobj)
|
|||
ghost->color = mobj->color;
|
||||
ghost->colorized = mobj->colorized; // Kart: they should also be colorized if their origin is
|
||||
|
||||
ghost->angle = mobj->angle;
|
||||
if (mobj->player)
|
||||
ghost->angle = mobj->player->frameangle;
|
||||
else
|
||||
ghost->angle = mobj->angle;
|
||||
|
||||
ghost->sprite = mobj->sprite;
|
||||
ghost->frame = mobj->frame;
|
||||
ghost->tics = -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue