Extend Enter activity class for (re)usability in enter/exit/dock logic

This commit is contained in:
atlimit8
2014-09-25 11:55:47 -05:00
parent 83acbe0266
commit af5b18a080
7 changed files with 250 additions and 24 deletions

View File

@@ -76,7 +76,7 @@ namespace OpenRA.Mods.RA
self.CancelActivity();
self.SetTargetLine(target, Color.Red);
self.QueueActivity(new Enter(target.Actor, new Demolish(
self.QueueActivity(new Enter(self, target.Actor, new Demolish(
target.Actor, info.C4Delay, info.Flashes, info.FlashesDelay, info.FlashInterval, info.FlashDuration)));
}