Prison Egg bump exception

Always bump the player when colliding with stationery prison eggs.
To keep compatibility with the recorded staff ghosts, for now, this will only apply when in tutorials.
This commit is contained in:
SteelT 2024-04-05 21:37:08 -04:00
parent 797f78abab
commit 574a04f01b

View file

@ -853,6 +853,17 @@ static boolean K_JustBumpedException(mobj_t *mobj)
return Obj_SA2CrateIsMetal(mobj);
case MT_WALLSPIKE:
return true;
case MT_BATTLECAPSULE:
{
if (gametype == GT_TUTORIAL // Remove gametype check whenever it's safe to break compatibility with ghosts in a post-release patch
&& mobj->momx == 0
&& mobj->momy == 0
&& mobj->momz == 0)
{
return true;
}
break;
}
default:
break;
}