- Monsters no longer search for players who are unfriendly.

This commit is contained in:
Rachael Alexanderson 2017-03-10 12:47:52 -05:00
commit 786c4f01c8
2 changed files with 10 additions and 1 deletions

View file

@ -7354,6 +7354,9 @@ bool AActor::IsFriend (AActor *other)
other->FriendPlayer == 0 ||
players[FriendPlayer-1].mo->IsTeammate(players[other->FriendPlayer-1].mo);
}
// [SP] If friendly flags match, then they are on the same team.
/*if (!((flags ^ other->flags) & MF_FRIENDLY))
return true;*/
return false;
}