Add support for superweapon detected sounds.

This commit is contained in:
Matthias Mailänder
2021-11-21 10:55:25 +01:00
committed by reaperrr
parent c51327c4cc
commit c9022bcb73
2 changed files with 18 additions and 1 deletions

View File

@@ -253,6 +253,7 @@ namespace OpenRA
return PlayerRelationship.Neutral;
}
/// <summary> returns true if player is null </summary>
public bool IsAlliedWith(Player p)
{
return RelationshipWith(p) == PlayerRelationship.Ally;