- Monsters no longer search for players who are unfriendly.
This commit is contained in:
parent
93a6e4bc94
commit
786c4f01c8
2 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue