P_SetupSpawnedMapThing: Re-add missing MT_AMBIENT

This commit is contained in:
toaster 2023-07-18 10:59:06 +01:00
parent 2e395c8b0f
commit c1810ac891

View file

@ -13131,6 +13131,11 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj)
mobj->flags2 |= MF2_AMBUSH;
}
break;
case MT_AMBIENT:
if (mthing->stringargs[0])
mobj->threshold = get_number(mthing->stringargs[0]);
mobj->health = mthing->args[0] ? mthing->args[0] : TICRATE;
break;
// SRB2Kart
case MT_WAYPOINT:
{