mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 12:50:44 +00:00
Fix flung emeralds not disappearing in death pits
(assuming it wasn't an intentional behaviour thing of course)
This commit is contained in:
parent
9731a8daa1
commit
2c73e2a2cd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue