aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorBrian McBee2007-08-06 20:53:45 +0000
committerBrian McBee2007-08-06 20:53:45 +0000
commitb55e01b93977db327b1d1b2ca82303071514ca1b (patch)
tree5ce7789510e5e0869d8d9d5702ab5a81c4ca600a /OpenSim/Region
parentadding shell of SqliteDataStore (diff)
downloadopensim-SC-b55e01b93977db327b1d1b2ca82303071514ca1b.zip
opensim-SC-b55e01b93977db327b1d1b2ca82303071514ca1b.tar.gz
opensim-SC-b55e01b93977db327b1d1b2ca82303071514ca1b.tar.bz2
opensim-SC-b55e01b93977db327b1d1b2ca82303071514ca1b.tar.xz
OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last try at getting the X and Y all set straight.
Diffstat (limited to 'OpenSim/Region')
-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 }