More misc explicit interface implementations
By-product from making ITick explicit in various places.
This commit is contained in:
committed by
Matthias Mailänder
parent
03c3a5f310
commit
85e60ef77f
@@ -46,6 +46,7 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
public bool IsAttacking;
|
||||
|
||||
int targetCountdown;
|
||||
bool disposed;
|
||||
|
||||
public Sandworm(Actor self, SandwormInfo info)
|
||||
: base(self, info)
|
||||
@@ -134,8 +135,7 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
IsMovingTowardTarget = true;
|
||||
}
|
||||
|
||||
bool disposed;
|
||||
public void Disposing(Actor self)
|
||||
void INotifyActorDisposing.Disposing(Actor self)
|
||||
{
|
||||
if (disposed)
|
||||
return;
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
}
|
||||
}
|
||||
|
||||
public void OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
|
||||
void INotifyOwnerChanged.OnOwnerChanged(Actor self, Player oldOwner, Player newOwner)
|
||||
{
|
||||
if (changingOwner == null || changingOwner != newOwner)
|
||||
originalOwner = newOwner; // It wasn't a temporary change, so we need to update here
|
||||
|
||||
Reference in New Issue
Block a user