unitinfo.InitialFacing etc

This commit is contained in:
Chris Forbes
2009-11-29 14:56:09 +13:00
parent cc2ef432b4
commit 9860b35030
9 changed files with 63 additions and 48 deletions

View File

@@ -36,6 +36,8 @@ namespace OpenRa.Game
Log.Write( "Player \"{0}\" builds {1}", order.Player.PlayerName, building.Name );
Game.world.Add( new Actor( building.Name, order.TargetLocation - GameRules.Footprint.AdjustForBuildingSize( building ), order.Player ) );
if (order.Player == Game.LocalPlayer)
Game.PlaySound("build5.aud", false);
order.Player.FinishProduction(Rules.UnitCategory[building.Name]);
} );