mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'mapper-ring-box' into 'master'
Ring Box mapper arg See merge request KartKrew/Kart!1372
This commit is contained in:
commit
14d76a10ec
2 changed files with 3 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ void Obj_RandomItemVisuals(mobj_t *mobj)
|
|||
// the player's cleared out a good portion of the map.
|
||||
//
|
||||
// Then extraval1 starts ticking up and triggers the transformation from Ringbox to Random Item.
|
||||
if (mobj->fuse == 0 && !(mobj->flags & MF_NOCLIPTHING)
|
||||
if (mobj->fuse == 0 && !(mobj->flags & MF_NOCLIPTHING) && !(mobj->flags2 & MF2_AMBUSH)
|
||||
&& !cv_thunderdome.value && !(modeattacking & ATTACKING_SPB))
|
||||
{
|
||||
mobj->extravalue1++;
|
||||
|
|
|
|||
|
|
@ -13273,6 +13273,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj)
|
|||
P_SetThingPosition(mobj);
|
||||
}
|
||||
}
|
||||
if (mthing->args[0] == 1)
|
||||
mobj->flags2 |= MF2_AMBUSH;
|
||||
break;
|
||||
}
|
||||
case MT_ITEMCAPSULE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue