mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Flung rings from grow/shrunk players are now at mapobjectscale rather than player scale
This is a HUGE pet peeve of mine considering how ring scale is otherwise very, very consistent and uncoupled
This commit is contained in:
parent
8007446349
commit
cf49a0df6a
1 changed files with 3 additions and 0 deletions
|
|
@ -2256,6 +2256,9 @@ static void P_FlingBurst
|
|||
mo->fuse = objFuse;
|
||||
P_SetTarget(&mo->target, player->mo);
|
||||
|
||||
// We want everything from P_SpawnMobjFromMobj except scale.
|
||||
objScale = FixedMul(objScale, FixedDiv(mapobjectscale, player->mo->scale));
|
||||
|
||||
if (objScale != FRACUNIT)
|
||||
{
|
||||
P_SetScale(mo, FixedMul(objScale, mo->scale));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue