diff options
author | Brian McBee | 2007-08-06 20:53:45 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-06 20:53:45 +0000 |
commit | b55e01b93977db327b1d1b2ca82303071514ca1b (patch) | |
tree | 5ce7789510e5e0869d8d9d5702ab5a81c4ca600a | |
parent | adding shell of SqliteDataStore (diff) | |
download | opensim-SC_OLD-b55e01b93977db327b1d1b2ca82303071514ca1b.zip opensim-SC_OLD-b55e01b93977db327b1d1b2ca82303071514ca1b.tar.gz opensim-SC_OLD-b55e01b93977db327b1d1b2ca82303071514ca1b.tar.bz2 opensim-SC_OLD-b55e01b93977db327b1d1b2ca82303071514ca1b.tar.xz |
OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last try at getting the X and Y all set straight.
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 4 |
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 | } |