aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authormorphw2007-05-04 02:12:47 +0000
committermorphw2007-05-04 02:12:47 +0000
commitd054ce76028b53b70a7fe2205294baa1b7780faa (patch)
tree56d1ea46e4f50959c055ee1b9221fba42aa29cad
parentSaving project / small changes. Will do more tomorrow. (diff)
downloadopensim-SC_OLD-d054ce76028b53b70a7fe2205294baa1b7780faa.zip
opensim-SC_OLD-d054ce76028b53b70a7fe2205294baa1b7780faa.tar.gz
opensim-SC_OLD-d054ce76028b53b70a7fe2205294baa1b7780faa.tar.bz2
opensim-SC_OLD-d054ce76028b53b70a7fe2205294baa1b7780faa.tar.xz
fix array size
Diffstat (limited to '')
-rw-r--r--OpenSim.Framework/Types/PrimData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim.Framework/Types/PrimData.cs b/OpenSim.Framework/Types/PrimData.cs
index 6c9bb83..68e2a22 100644
--- a/OpenSim.Framework/Types/PrimData.cs
+++ b/OpenSim.Framework/Types/PrimData.cs
@@ -97,7 +97,7 @@ namespace OpenSim.Framework.Types
97 public byte[] ToBytes() 97 public byte[] ToBytes()
98 { 98 {
99 int i = 0; 99 int i = 0;
100 byte[] bytes = new byte[121 + Texture.Length]; 100 byte[] bytes = new byte[126 + Texture.Length];
101 Array.Copy(OwnerID.GetBytes(), 0, bytes, i, 16); i += 16; 101 Array.Copy(OwnerID.GetBytes(), 0, bytes, i, 16); i += 16;
102 bytes[i++] = this.PCode; 102 bytes[i++] = this.PCode;
103 bytes[i++] = (byte)(this.PathBegin % 256); 103 bytes[i++] = (byte)(this.PathBegin % 256);