Add a missing negiator, resulting in skyboxes not hurting the player

This commit is contained in:
Yamagi Burmeister 2011-10-13 12:08:14 +00:00
parent 8e846291e3
commit 4db397a9c6

View file

@ -656,7 +656,7 @@ T_Damage(edict_t *targ, edict_t *inflictor, edict_t *attacker,
asave += save;
/* team damage avoidance */
if ((dflags & DAMAGE_NO_PROTECTION))
if (!(dflags & DAMAGE_NO_PROTECTION))
{
return;
}