mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +00:00
- Fixed: DesignatedTeams prevented monsters from hurting themselves in teamplay.
SVN r3508 (trunk)
This commit is contained in:
parent
3e7473e51a
commit
1f6c6aafd9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue