mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-03 20:26:05 +00:00
NIGHTSDRONE visual element positioning now works with scaling
This commit is contained in:
parent
f6c39495a8
commit
60025e396b
1 changed files with 2 additions and 2 deletions
|
|
@ -7935,8 +7935,8 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
sparkleoffset = goaloffset + FixedMul(15*FRACUNIT, mobj->scale);
|
||||
}
|
||||
|
||||
P_TeleportMove(goalpost, mobj->x, mobj->y, mobj->z + FixedMul(goaloffset, mobj->scale));
|
||||
P_TeleportMove(sparkle, mobj->x, mobj->y, mobj->z + FixedMul(sparkleoffset, mobj->scale));
|
||||
P_TeleportMove(goalpost, mobj->x, mobj->y, mobj->z + goaloffset);
|
||||
P_TeleportMove(sparkle, mobj->x, mobj->y, mobj->z + sparkleoffset);
|
||||
}
|
||||
else if (goalpost->x != mobj->x || goalpost->y != mobj->y)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue