Remove unused switch-case in P_MobjScaleThink

This commit is contained in:
Gustaf Alhäll 2025-01-20 17:08:48 +01:00
parent e7970fc59a
commit 06b7fc11ea

View file

@ -7005,14 +7005,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)