mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 13:40:45 +00:00
Kill minecarts that fall into death pits
This commit is contained in:
parent
24c6dd1a68
commit
8e61cc6d13
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…
Reference in a new issue