diff options
author | MW | 2007-03-01 15:07:27 +0000 |
---|---|---|
committer | MW | 2007-03-01 15:07:27 +0000 |
commit | 5239de16df1fa24f1f4a9a75f256391dc22fedb3 (patch) | |
tree | 6569e8901f4d3631553f277b972d03cb320edbfb /src/world/TerrainDecoder.cs | |
parent | Imported fixed OGS asset server (diff) | |
download | opensim-SC_OLD-5239de16df1fa24f1f4a9a75f256391dc22fedb3.zip opensim-SC_OLD-5239de16df1fa24f1f4a9a75f256391dc22fedb3.tar.gz opensim-SC_OLD-5239de16df1fa24f1f4a9a75f256391dc22fedb3.tar.bz2 opensim-SC_OLD-5239de16df1fa24f1f4a9a75f256391dc22fedb3.tar.xz |
Fixed small bug in Terrain Encoding
Diffstat (limited to 'src/world/TerrainDecoder.cs')
-rw-r--r-- | src/world/TerrainDecoder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world/TerrainDecoder.cs b/src/world/TerrainDecoder.cs index 0c72c92..1a34826 100644 --- a/src/world/TerrainDecoder.cs +++ b/src/world/TerrainDecoder.cs | |||
@@ -443,7 +443,7 @@ namespace OpenSim | |||
443 | this.EncodePatchHeader(newpack, headers); | 443 | this.EncodePatchHeader(newpack, headers); |
444 | 444 | ||
445 | int lastused=0; | 445 | int lastused=0; |
446 | for(int i = 0; i < 1024 ; i++) | 446 | for(int i = 0; i < 2048 ; i++) |
447 | { | 447 | { |
448 | if(Encoded[i] !=0) | 448 | if(Encoded[i] !=0) |
449 | lastused = i; | 449 | lastused = i; |