Merge pull request #3725 from ScottNZ/flash

Make buildings being captured flash the colour of the captor's owner
This commit is contained in:
Matthias Mailänder
2013-08-23 08:53:59 -07:00
3 changed files with 12 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ namespace OpenRA.Mods.RA.Activities
if (capturable.CaptureProgressTime % 25 == 0)
{
self.World.Add(new FlashTarget(target.Actor)); // TODO: building should flash captor's color
self.World.Add(new FlashTarget(target.Actor, self.Owner));
self.World.Add(new FlashTarget(self));
}