Change this condition a bit

This commit is contained in:
Steel Titanium 2019-12-24 17:44:06 -05:00
parent 2f83c2977e
commit b49672e3f9

View file

@ -3439,13 +3439,13 @@ void P_SpecialStageDamage(player_t *player, mobj_t *inflictor, mobj_t *source)
}
}
if (inflictor->type == MT_LHRT)
return;
if (source->player->ctfteam == player->ctfteam)
return;
}
if (inflictor->type == MT_LHRT)
return;
if (player->powers[pw_shield] || player->bot) //If One-Hit Shield
{
P_RemoveShield(player);