Take PainThresholds into account.

This commit is contained in:
MajorCooke 2015-03-25 14:27:12 -05:00
parent f161c0c501
commit d45d45583b

View file

@ -1474,7 +1474,7 @@ fakepain: //Needed so we can skip the rest of the above, but still obey the orig
}
}
if ((((damage >= target->PainThreshold) || (fakedPain)) && (pr_damagemobj() < painchance))
if (((damage >= target->PainThreshold) && (pr_damagemobj() < painchance))
|| (inflictor != NULL && (inflictor->flags6 & MF6_FORCEPAIN)))
{
dopain: