diff options
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> |