From 112a1af3a68d355724e09399372c71c2ae452cb4 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 10 Mar 2009 00:03:26 +0000 Subject: Update svn properties, minor formatting cleanup. --- OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/CoreModules/Hypergrid') diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs index 203ab32..26b6b98 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs @@ -26,7 +26,6 @@ * */ - using System.Collections.Generic; using System.Reflection; using log4net; @@ -63,16 +62,13 @@ namespace OpenSim.Region.CoreModules.Hypergrid this, "export-map", "export-map []", "Save an image of the world map", HandleExportWorldMapConsoleCommand); - } - public override string Name { get { return "HGWorldMap"; } } - #endregion /// @@ -143,10 +139,10 @@ namespace OpenSim.Region.CoreModules.Hypergrid } } - private void FillInMap(List mapBlocks, int minX, int minY, int maxX, int maxY) { for (int x = minX; x <= maxX; x++) + { for (int y = minY; y <= maxY; y++) { MapBlockData mblock = mapBlocks.Find(delegate(MapBlockData mb) { return ((mb.X == x) && (mb.Y == y)); }); @@ -161,6 +157,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid mapBlocks.Add(mblock); } } + } } } } -- cgit v1.1