Remove fragile alliances feature.

This commit is contained in:
Paul Chote
2016-01-30 18:12:35 +00:00
parent aa491a35c8
commit 73b3f20921
21 changed files with 11 additions and 374 deletions

View File

@@ -118,7 +118,7 @@ namespace OpenRA.Mods.RA.Traits
public override object Create(ActorInitializer init) { return new GpsPower(init.Self, this); }
}
class GpsPower : SupportPower, INotifyKilled, INotifyStanceChanged, INotifySold, INotifyOwnerChanged
class GpsPower : SupportPower, INotifyKilled, INotifySold, INotifyOwnerChanged
{
GpsWatcher owner;
@@ -159,11 +159,6 @@ namespace OpenRA.Mods.RA.Traits
owner.GpsRem(self);
}
public void StanceChanged(Actor self, Player a, Player b, Stance oldStance, Stance newStance)
{
owner.RefreshGps(self);
}
public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
{
RemoveGps(self);