mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 09:46:40 +00:00
A_SetScale: Scale by mapthing scale
This commit is contained in:
parent
c4525a61a2
commit
1f00e3fc3f
1 changed files with 4 additions and 0 deletions
|
|
@ -9390,6 +9390,10 @@ void A_SetScale(mobj_t *actor)
|
|||
}
|
||||
|
||||
locvar1 = FixedMul(locvar1, mapobjectscale); // SRB2Kart
|
||||
if (target->spawnpoint != NULL)
|
||||
{
|
||||
locvar1 = FixedMul(locvar1, target->spawnpoint->scale);
|
||||
}
|
||||
|
||||
target->destscale = locvar1; // destination scale
|
||||
if (!(locvar2 & 65535))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue