From 5239de16df1fa24f1f4a9a75f256391dc22fedb3 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 1 Mar 2007 15:07:27 +0000 Subject: [PATCH] Fixed small bug in Terrain Encoding --- src/world/TerrainDecoder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/TerrainDecoder.cs b/src/world/TerrainDecoder.cs index 0c72c9266a..1a3482611f 100644 --- a/src/world/TerrainDecoder.cs +++ b/src/world/TerrainDecoder.cs @@ -443,7 +443,7 @@ namespace OpenSim this.EncodePatchHeader(newpack, headers); int lastused=0; - for(int i = 0; i < 1024 ; i++) + for(int i = 0; i < 2048 ; i++) { if(Encoded[i] !=0) lastused = i;