From 4d5c9499f81599ec260e1e71005d6482657d02ac Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 21 May 2007 00:11:55 +0000 Subject: * minor refactoring for readability (and to lessen greed) --- OpenSim.RegionServer/world/Primitive.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim.RegionServer/world/Primitive.cs') diff --git a/OpenSim.RegionServer/world/Primitive.cs b/OpenSim.RegionServer/world/Primitive.cs index 6124248..4f861f7 100644 --- a/OpenSim.RegionServer/world/Primitive.cs +++ b/OpenSim.RegionServer/world/Primitive.cs @@ -328,7 +328,7 @@ namespace OpenSim.world this.dirtyFlag = true; } - public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID agentID, uint localID) + public void CreateFromPacket(ObjectAddPacket addPacket, LLUUID ownerID, uint localID) { ObjectUpdatePacket objupdate = new ObjectUpdatePacket(); objupdate.RegionData.RegionHandle = m_regionHandle; @@ -356,7 +356,7 @@ namespace OpenSim.world this.primData.Texture = objupdate.ObjectData[0].TextureEntry = ntex.ToBytes(); objupdate.ObjectData[0].State = 0; objupdate.ObjectData[0].Data = new byte[0]; - PData.OwnerID = objupdate.ObjectData[0].OwnerID = agentID; + PData.OwnerID = objupdate.ObjectData[0].OwnerID = ownerID; PData.PCode = objupdate.ObjectData[0].PCode = addPacket.ObjectData.PCode; PData.PathBegin = objupdate.ObjectData[0].PathBegin = addPacket.ObjectData.PathBegin; PData.PathEnd = objupdate.ObjectData[0].PathEnd = addPacket.ObjectData.PathEnd; -- cgit v1.1