Fix flung emeralds not disappearing in death pits
(assuming it wasn't an intentional behaviour thing of course)
This commit is contained in:
1 parent
9731a8daa1
commit
2c73e2a2cd
1 file changed
+1
-1
+1
-1
@@ -2245,6 +2245,7 @@ static boolean P_ZMovement(mobj_t *mo)
|
||||
case MT_BLUETEAMRING:
|
||||
case MT_FLINGRING:
|
||||
case MT_FLINGCOIN:
|
||||
case MT_FLINGEMERALD:
|
||||
// Remove flinged stuff from death pits.
|
||||
if (P_CheckDeathPitCollide(mo))
|
||||
{
|
||||
@@ -2276,7 +2277,6 @@ static boolean P_ZMovement(mobj_t *mo)
|
||||
if (!(mo->momx || mo->momy || mo->momz))
|
||||
return true;
|
||||
break;
|
||||
case MT_FLINGEMERALD:
|
||||
case MT_NIGHTSWING:
|
||||
if (!(mo->momx || mo->momy || mo->momz))
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user