- added DavidPH's DOHARMSPECIES submission.
SVN r3236 (trunk)
This commit is contained in:
parent
44921297d3
commit
e4455c293f
3 changed files with 3 additions and 1 deletions
|
|
@ -1074,7 +1074,7 @@ bool PIT_CheckThing (AActor *thing, FCheckPosition &tm)
|
|||
// [RH] Don't hurt monsters that hate the same thing as you do
|
||||
return false;
|
||||
}
|
||||
if (thing->GetSpecies() == tm.thing->target->GetSpecies())
|
||||
if (thing->GetSpecies() == tm.thing->target->GetSpecies() && !(thing->flags6 & MF6_DOHARMSPECIES))
|
||||
{
|
||||
// Don't hurt same species or any relative -
|
||||
// but only if the target isn't one's hostile.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue