Merge branch 'remove-scale-deadcode' into 'next'

Remove unused switch-case in P_MobjScaleThink

See merge request STJr/SRB2!2605
This commit is contained in:
Hanicef 2025-03-20 16:54:56 +00:00
commit 65acbafcaf

View file

@ -7013,14 +7013,6 @@ static void P_MobjScaleThink(mobj_t *mobj)
mobj->z -= (mobj->height - oldheight)/2;
else if (correctionType == 2)
mobj->z -= mobj->height - oldheight;
if (mobj->scale == mobj->destscale)
/// \todo Lua hook for "reached destscale"?
switch (mobj->type)
{
default:
break;
}
}
static void P_MaceSceneryThink(mobj_t *mobj)