Merge branch 'preventmonitorpits' into 'master'

Prevent battle monitors getting stuck in pits

See merge request KartKrew/RingRacers!124
This commit is contained in:
Eidolon 2025-08-19 00:11:19 +00:00
commit 928a1ed4ad

View file

@ -2309,6 +2309,14 @@ boolean P_ZMovement(mobj_t *mo)
return false;
}
break;
case MT_MONITOR:
// Prevent battle monitors getting stuck in pits
if (P_CheckDeathPitCollide(mo))
{
P_RemoveMobj(mo);
return false;
}
break;
default:
// SRB2kart stuff that should die in pits
// Shouldn't stop moving along the Z if there's no speed though!