mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-17 19:11:30 +00:00
Kill minecarts that fall into death pits
This commit is contained in:
parent
852ae2d07b
commit
efc1b7ef2b
1 changed files with 2 additions and 2 deletions
|
|
@ -2580,9 +2580,9 @@ static boolean P_ZMovement(mobj_t *mo)
|
|||
|
||||
if (!mo->player && P_CheckDeathPitCollide(mo))
|
||||
{
|
||||
if (mo->flags & MF_ENEMY || mo->flags & MF_BOSS)
|
||||
if (mo->flags & MF_ENEMY || mo->flags & MF_BOSS || mo->type == MT_MINECART)
|
||||
{
|
||||
// Kill enemies and bosses that fall into death pits.
|
||||
// Kill enemies, bosses and minecarts that fall into death pits.
|
||||
if (mo->health)
|
||||
{
|
||||
P_KillMobj(mo, NULL, NULL, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue