added voice pool stuff back in for unit movement\!

This commit is contained in:
Chris Forbes
2009-10-24 21:57:34 +13:00
parent 5086f6ab51
commit 2b60a31c0c

View File

@@ -29,7 +29,7 @@ namespace OpenRa.Game
public override void Apply()
{
if (Game.LocalPlayer == Unit.Owner)
Game.PlaySound("ackno.r00", false);
Game.PlaySound(Game.SovietVoices.First.GetNext() + GetVoiceSuffix(), false);
var mobile = Unit.traits.Get<Traits.Mobile>();
mobile.Cancel(Unit);
mobile.QueueAction( new Traits.Mobile.MoveTo( Destination ) );