Add CurrentSource parameter to ProjectileArgs.

This commit is contained in:
Paul Chote
2015-11-20 17:18:37 +00:00
committed by UberWaffe
parent 354f44a17b
commit 03693a06eb
4 changed files with 6 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ namespace OpenRA.Mods.Common.Traits
.Select(a => a.GetRangeModifier()).ToArray(),
Source = self.CenterPosition,
CurrentSource = () => self.CenterPosition,
SourceActor = self,
PassiveTarget = self.CenterPosition + new WVec(range, 0, 0).Rotate(rotation)
};