mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-21 08:51:10 +00:00
NIGHTSDRONE visual element positioning now works with scaling
This commit is contained in:
parent
4f9231b7a5
commit
79c042ca09
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…
Reference in a new issue