- Implement hostile coop for -FRIENDLY players.
This commit is contained in:
parent
786c4f01c8
commit
ff3d3f13c8
2 changed files with 1 additions and 4 deletions
|
|
@ -7273,7 +7273,7 @@ bool AActor::IsTeammate (AActor *other)
|
|||
}
|
||||
else if (!deathmatch && player && other->player)
|
||||
{
|
||||
return true;
|
||||
return (!((flags ^ other->flags) & MF_FRIENDLY));
|
||||
}
|
||||
else if (teamplay)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue