aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain
diff options
context:
space:
mode:
authorBrian McBee2007-08-06 19:13:10 +0000
committerBrian McBee2007-08-06 19:13:10 +0000
commit565dee5e0a48b5be1b199863eb94ca0625778703 (patch)
treea1dffc8d2fcb675f93516cefbdcf4f5957a38971 /OpenSim/Region/Terrain.BasicTerrain
parentfirst bits of updating sqlite to definition based on new objects (diff)
downloadopensim-SC-565dee5e0a48b5be1b199863eb94ca0625778703.zip
opensim-SC-565dee5e0a48b5be1b199863eb94ca0625778703.tar.gz
opensim-SC-565dee5e0a48b5be1b199863eb94ca0625778703.tar.bz2
opensim-SC-565dee5e0a48b5be1b199863eb94ca0625778703.tar.xz
OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last array with X and Y flipped. Terrain load-tile should be working now.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index e10c51b..64df525 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -628,7 +628,7 @@ namespace OpenSim.Region.Terrain
628 int sectionToLoadX = ((this.offsetX - lowerboundX) * this.w); 628 int sectionToLoadX = ((this.offsetX - lowerboundX) * this.w);
629 int sectionToLoadY = ((this.offsetY - lowerboundY) * this.h); 629 int sectionToLoadY = ((this.offsetY - lowerboundY) * this.h);
630 630
631 double[,] tempMap = new double[dimensionY, dimensionX]; 631 double[,] tempMap = new double[dimensionX, dimensionY];
632 632
633 FileInfo file = new FileInfo(filename); 633 FileInfo file = new FileInfo(filename);
634 FileStream s = file.Open(FileMode.Open, FileAccess.Read); 634 FileStream s = file.Open(FileMode.Open, FileAccess.Read);