aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index 64df525..e5313b9 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -635,9 +635,9 @@ namespace OpenSim.Region.Terrain
635 BinaryReader bs = new BinaryReader(s); 635 BinaryReader bs = new BinaryReader(s);
636 636
637 int x, y; 637 int x, y;
638 for (y = 0; y < dimensionY; y++) 638 for (x = 0; x < dimensionX; x++)
639 { 639 {
640 for (x = 0; x < dimensionX; x++) 640 for (y = 0; y < dimensionY; y++)
641 { 641 {
642 tempMap[x,y] = (double)bs.ReadSingle(); 642 tempMap[x,y] = (double)bs.ReadSingle();
643 } 643 }