A_SetScale: Scale by mapthing scale

This commit is contained in:
Sally Coolatta 2023-03-03 18:03:03 -05:00
parent c4525a61a2
commit 1f00e3fc3f

View file

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