mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Copy interpolation data to afterimages
This commit is contained in:
parent
e5244c7e8c
commit
a52dc0f845
1 changed files with 5 additions and 0 deletions
|
|
@ -1138,6 +1138,11 @@ mobj_t *P_SpawnGhostMobj(mobj_t *mobj)
|
||||||
ghost2->flags2 |= (mobj->player->followmobj->flags2 & MF2_LINKDRAW);
|
ghost2->flags2 |= (mobj->player->followmobj->flags2 & MF2_LINKDRAW);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Copy interpolation data :)
|
||||||
|
ghost->old_x = mobj->old_x;
|
||||||
|
ghost->old_y = mobj->old_y;
|
||||||
|
ghost->old_z = mobj->old_z;
|
||||||
|
|
||||||
return ghost;
|
return ghost;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue