diff options
author | MW | 2007-06-12 14:46:29 +0000 |
---|---|---|
committer | MW | 2007-06-12 14:46:29 +0000 |
commit | 9f1158ba6ac5f36db5a4d374f22276294930dfd7 (patch) | |
tree | 5fd68371d72e31504e9a275f1de00eddd482c84f /OpenSim/OpenSim.Region/World/World.PacketHandlers.cs | |
parent | *Fixed sugilite (diff) | |
download | opensim-SC_OLD-9f1158ba6ac5f36db5a4d374f22276294930dfd7.zip opensim-SC_OLD-9f1158ba6ac5f36db5a4d374f22276294930dfd7.tar.gz opensim-SC_OLD-9f1158ba6ac5f36db5a4d374f22276294930dfd7.tar.bz2 opensim-SC_OLD-9f1158ba6ac5f36db5a4d374f22276294930dfd7.tar.xz |
Some Work on the Primitive class
Diffstat (limited to 'OpenSim/OpenSim.Region/World/World.PacketHandlers.cs')
-rw-r--r-- | OpenSim/OpenSim.Region/World/World.PacketHandlers.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs b/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs index f266d2a..85ca247 100644 --- a/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs +++ b/OpenSim/OpenSim.Region/World/World.PacketHandlers.cs | |||
@@ -210,7 +210,14 @@ namespace OpenSim.Region | |||
210 | /// <param name="remoteClient"></param> | 210 | /// <param name="remoteClient"></param> |
211 | public void UpdatePrimPosition(uint localID, LLVector3 pos, IClientAPI remoteClient) | 211 | public void UpdatePrimPosition(uint localID, LLVector3 pos, IClientAPI remoteClient) |
212 | { | 212 | { |
213 | 213 | foreach (Entity ent in Entities.Values) | |
214 | { | ||
215 | if (ent.localid == localID) | ||
216 | { | ||
217 | ((OpenSim.Region.Primitive)ent).UpdatePosition(pos); | ||
218 | break; | ||
219 | } | ||
220 | } | ||
214 | } | 221 | } |
215 | 222 | ||
216 | /// <summary> | 223 | /// <summary> |