diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 73954d0..73d317a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -332,16 +332,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
332 | { | 332 | { |
333 | if (ent is SceneObjectGroup) | 333 | if (ent is SceneObjectGroup) |
334 | { | 334 | { |
335 | hasprim = ((SceneObjectGroup)ent).HasChildPrim(localID); | 335 | hasprim = ((SceneObjectGroup) ent).HasChildPrim(localID); |
336 | if (hasprim != false) | 336 | if (hasprim != false) |
337 | { | 337 | { |
338 | 338 | ((SceneObjectGroup) ent).UpdatePrimFlags(localID, (ushort) packet.Type, true, packet.ToBytes()); | |
339 | ((SceneObjectGroup)ent).UpdatePrimFlags(localID, (ushort)packet.Type, true, packet.ToBytes()); | ||
340 | |||
341 | } | 339 | } |
342 | } | 340 | } |
343 | } | 341 | } |
344 | 342 | ||
345 | //System.Console.WriteLine("Got primupdate packet: " + packet.UsePhysics.ToString()); | 343 | //System.Console.WriteLine("Got primupdate packet: " + packet.UsePhysics.ToString()); |
346 | } | 344 | } |
347 | 345 | ||