From 7d61e75862ae89fe135a323708867c4527298d08 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 20 Dec 2010 19:38:28 +1300 Subject: [PATCH] #413 fixed --- OpenRA.Editor/Form1.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }