- Fixed: DesignatedTeams prevented monsters from hurting themselves in teamplay.

SVN r3508 (trunk)
This commit is contained in:
Braden Obrzut 2012-04-01 20:43:14 +00:00
parent 3e7473e51a
commit 1f6c6aafd9

View file

@ -1092,7 +1092,7 @@ void P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage
// [RH] Avoid friendly fire if enabled
if (!(flags & DMG_FORCED) && source != NULL &&
((player && player != source->player) || !player) &&
((player && player != source->player) || (!player && target != source)) &&
target->IsTeammate (source))
{
if (player)