Fix flung emeralds not disappearing in death pits

(assuming it wasn't an intentional behaviour thing of course)
This commit is contained in:
Monster Iestyn 2016-05-29 16:47:38 +01:00
parent 9731a8daa1
commit 2c73e2a2cd

View file

@ -2245,6 +2245,7 @@ static boolean P_ZMovement(mobj_t *mo)
case MT_BLUETEAMRING: case MT_BLUETEAMRING:
case MT_FLINGRING: case MT_FLINGRING:
case MT_FLINGCOIN: case MT_FLINGCOIN:
case MT_FLINGEMERALD:
// Remove flinged stuff from death pits. // Remove flinged stuff from death pits.
if (P_CheckDeathPitCollide(mo)) if (P_CheckDeathPitCollide(mo))
{ {
@ -2276,7 +2277,6 @@ static boolean P_ZMovement(mobj_t *mo)
if (!(mo->momx || mo->momy || mo->momz)) if (!(mo->momx || mo->momy || mo->momz))
return true; return true;
break; break;
case MT_FLINGEMERALD:
case MT_NIGHTSWING: case MT_NIGHTSWING:
if (!(mo->momx || mo->momy || mo->momz)) if (!(mo->momx || mo->momy || mo->momz))
return true; return true;