mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Prevent battle monitors getting stuck in pits
This commit is contained in:
parent
294e60bf8d
commit
b8223197cc
1 changed files with 8 additions and 0 deletions
|
|
@ -2309,6 +2309,14 @@ boolean P_ZMovement(mobj_t *mo)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case MT_MONITOR:
|
||||||
|
// Prevent battle monitors getting stuck in pits
|
||||||
|
if (P_CheckDeathPitCollide(mo))
|
||||||
|
{
|
||||||
|
P_RemoveMobj(mo);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// SRB2kart stuff that should die in pits
|
// SRB2kart stuff that should die in pits
|
||||||
// Shouldn't stop moving along the Z if there's no speed though!
|
// Shouldn't stop moving along the Z if there's no speed though!
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue