mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_SetupSpawnedMapThing: Re-add missing MT_AMBIENT
This commit is contained in:
parent
2e395c8b0f
commit
c1810ac891
1 changed files with 5 additions and 0 deletions
|
|
@ -13131,6 +13131,11 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj)
|
||||||
mobj->flags2 |= MF2_AMBUSH;
|
mobj->flags2 |= MF2_AMBUSH;
|
||||||
}
|
}
|
||||||
break;
|
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
|
// SRB2Kart
|
||||||
case MT_WAYPOINT:
|
case MT_WAYPOINT:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue