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:
toaster 2022-11-19 00:32:52 +00:00
parent 8007446349
commit cf49a0df6a

View file

@ -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));