prevent allied units from autoattack building which is being captured. resolves #6170.

This commit is contained in:
Michael Rätzel
2015-11-11 14:32:38 +01:00
parent d33922915e
commit 51bb515a4d
4 changed files with 24 additions and 3 deletions

View File

@@ -121,4 +121,9 @@ namespace OpenRA.Mods.Common.Traits
{
void ModifyDeathActorInit(Actor self, TypeDictionary init);
}
public interface IPreventsAutoTarget
{
bool PreventsAutoTarget(Actor self, Actor attacker);
}
}