Convert Sound.Play* to WPos.

This commit is contained in:
Paul Chote
2013-07-11 17:37:27 +12:00
parent a263fd879d
commit 11cebddaa9
18 changed files with 32 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.RA.Activities
self.Trait<RenderInfantry>().Attacking(self, Target.FromActor(target));
if (weapon.Report != null && weapon.Report.Any())
Sound.Play(weapon.Report.Random(self.World.SharedRandom), self.CenterLocation);
Sound.Play(weapon.Report.Random(self.World.SharedRandom), self.CenterPosition);
}
public override Activity Tick(Actor self)