more positional sound

This commit is contained in:
Chris Forbes
2010-05-12 21:44:39 +12:00
parent dd52aa1728
commit 65c42ce9d7
4 changed files with 5 additions and 5 deletions

View File

@@ -102,7 +102,7 @@ namespace OpenRA.Traits
anim.PlayBackwardsThen( "make", null );
foreach (var s in self.Info.Traits.Get<BuildingInfo>().SellSounds)
Sound.PlayToPlayer(self.Owner, s);
Sound.PlayToPlayer(self.Owner, s, self.CenterLocation);
}
public void Sold(Actor self) {}