From 02c4ace0af6fdddda28bb08f520ce43804e063e1 Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Sun, 22 Feb 2015 14:24:03 +0100 Subject: [PATCH] Change default facing to 0 --- OpenRA.Mods.Common/Traits/Air/Aircraft.cs | 2 +- OpenRA.Mods.Common/Traits/Mobile.cs | 2 +- OpenRA.Mods.Common/Traits/World/SpawnMPUnits.cs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs index 28e4a2411f..b10c0d2737 100644 --- a/OpenRA.Mods.Common/Traits/Air/Aircraft.cs +++ b/OpenRA.Mods.Common/Traits/Air/Aircraft.cs @@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Traits public readonly string[] RepairBuildings = { "fix" }; [ActorReference] public readonly string[] RearmBuildings = { "hpad", "afld" }; - public readonly int InitialFacing = 128; + public readonly int InitialFacing = 0; public readonly int ROT = 255; public readonly int Speed = 1; public readonly string[] LandableTerrainTypes = { }; diff --git a/OpenRA.Mods.Common/Traits/Mobile.cs b/OpenRA.Mods.Common/Traits/Mobile.cs index 4e3cc08759..64e520218d 100644 --- a/OpenRA.Mods.Common/Traits/Mobile.cs +++ b/OpenRA.Mods.Common/Traits/Mobile.cs @@ -43,7 +43,7 @@ namespace OpenRA.Mods.Common.Traits public readonly int WaitSpread = 2; - public readonly int InitialFacing = 128; + public readonly int InitialFacing = 0; [Desc("Rate of Turning")] public readonly int ROT = 255; diff --git a/OpenRA.Mods.Common/Traits/World/SpawnMPUnits.cs b/OpenRA.Mods.Common/Traits/World/SpawnMPUnits.cs index 36341deea5..4cf91a8f1f 100644 --- a/OpenRA.Mods.Common/Traits/World/SpawnMPUnits.cs +++ b/OpenRA.Mods.Common/Traits/World/SpawnMPUnits.cs @@ -44,6 +44,7 @@ namespace OpenRA.Mods.Common.Traits new LocationInit(sp), new OwnerInit(p), new SkipMakeAnimsInit(), + new FacingInit(128), }); }