diff --git a/OpenRA.Editor/Form1.cs b/OpenRA.Editor/Form1.cs index 9f4a62c15b..d7061e5ad7 100755 --- a/OpenRA.Editor/Form1.cs +++ b/OpenRA.Editor/Form1.cs @@ -204,6 +204,7 @@ namespace OpenRA.Editor p.Visible = true; p.ResumeLayout(); } + pmMiniMap.Image = Minimap.AddStaticResources(surface1.Map, Minimap.TerrainBitmap(surface1.Map, true)); } @@ -315,9 +316,8 @@ namespace OpenRA.Editor var map = new Map(nmd.theater.SelectedItem as string); map.Resize((int)nmd.width.Value, (int)nmd.height.Value); - - map.TopLeft = new int2((int)nmd.cordonLeft.Value, (int)nmd.cordonTop.Value); - map.BottomRight = new int2((int)nmd.cordonRight.Value, (int)nmd.cordonBottom.Value); + map.ResizeCordon((int)nmd.cordonLeft.Value, (int)nmd.cordonTop.Value, + (int)nmd.cordonRight.Value, (int)nmd.cordonBottom.Value); map.Players.Add("Neutral", new PlayerReference("Neutral", Rules.Info["world"].Traits.WithInterface().First().Race, true, true)); NewMap(map); }