From 1962ea3abc5e8875c82ba644cc79de8a269f2705 Mon Sep 17 00:00:00 2001 From: HenrytheSlav Date: Thu, 5 May 2016 18:21:03 +0200 Subject: [PATCH] Fixes Utility import facings mirror-flip --- OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs index b93b1bc0da..1e42d976b9 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs @@ -390,7 +390,7 @@ namespace OpenRA.Mods.Common.UtilityCommands if (health != 100) initDict.Add(new HealthInit(health)); if (facing != 0) - initDict.Add(new FacingInit(facing)); + initDict.Add(new FacingInit(255 - facing)); if (section == "INFANTRY") actor.Add(new SubCellInit(Exts.ParseIntegerInvariant(parts[4])));