Fix aircraft targeting; add veterancy

This commit is contained in:
Paul Chote
2010-06-13 16:40:27 +12:00
parent 8397bc12b5
commit 3b4753d9a8
6 changed files with 28 additions and 10 deletions

View File

@@ -67,8 +67,8 @@ namespace OpenRA.Mods.RA
Level++;
// Game.Debug("{0} became Level {1}".F(self.Info.Name, Level));
Sound.PlayToPlayer(self.Owner, "hydrod1.aud", self.CenterLocation);
var eva = self.World.WorldActor.Info.Traits.Get<EvaAlertsInfo>();
Sound.PlayToPlayer(self.Owner, eva.LevelUp, self.CenterLocation);
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup", new int2(0,-24))));
}
}