UFO Catcher: damage with Tripwire Boost state

This commit is contained in:
James R 2024-03-10 06:59:57 -07:00
parent d1c537723e
commit 80756e7f97

View file

@ -996,7 +996,7 @@ void Obj_PlayerUFOCollide(mobj_t *ufo, mobj_t *other)
return; // We were just hit!
}
if ((other->player->sneakertimer > 0)
if (other->player->tripwirePass >= TRIPWIRE_BOOST
&& !P_PlayerInPain(other->player)
&& (other->player->flashing == 0))
{