diff options
author | UbitUmarov | 2015-08-25 20:08:05 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-25 20:08:05 +0100 |
commit | f4f3b18221b33f7e5fd40d3ce6b6441d16b04089 (patch) | |
tree | 6626468013a7dc0b096ceea6e1071b12da78e8d2 /OpenSim | |
parent | update raw32 file reader to core one. Warning only suports square regions (diff) | |
download | opensim-SC_OLD-f4f3b18221b33f7e5fd40d3ce6b6441d16b04089.zip opensim-SC_OLD-f4f3b18221b33f7e5fd40d3ce6b6441d16b04089.tar.gz opensim-SC_OLD-f4f3b18221b33f7e5fd40d3ce6b6441d16b04089.tar.bz2 opensim-SC_OLD-f4f3b18221b33f7e5fd40d3ce6b6441d16b04089.tar.xz |
fix bug
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/FileLoaders/RAW32.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/RAW32.cs b/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/RAW32.cs index 1bbef40..d467abb 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/RAW32.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/RAW32.cs | |||
@@ -127,7 +127,7 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FileLoaders | |||
127 | if (trimmedDimension < Constants.RegionSize) | 127 | if (trimmedDimension < Constants.RegionSize) |
128 | trimmedDimension = (int)Constants.RegionSize; | 128 | trimmedDimension = (int)Constants.RegionSize; |
129 | 129 | ||
130 | TerrainChannel retval = new TerrainChannel(); | 130 | TerrainChannel retval = new TerrainChannel(trimmedDimension, trimmedDimension); |
131 | 131 | ||
132 | BinaryReader bs = new BinaryReader(s); | 132 | BinaryReader bs = new BinaryReader(s); |
133 | int y; | 133 | int y; |