aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-24 23:11:07 +0000
committerJustin Clarke Casey2008-05-24 23:11:07 +0000
commit0ee69707ea8c0948b79aeba5dbe078fe28dc6482 (patch)
treed470d18bdac7f6be37103710400bb4deb8f9871b /OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
parent* Refactor: Remove some unused methods in Scene/InnerScene (diff)
downloadopensim-SC-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.zip
opensim-SC-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.tar.gz
opensim-SC-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.tar.bz2
opensim-SC-0ee69707ea8c0948b79aeba5dbe078fe28dc6482.tar.xz
* Refactor: Collapse some multiple remove object paths
* Push some delete functionality into InnerScene to match what's already there for adding objects
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/ComplexObject.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/ComplexObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
index 87a5ffc..d83bba6 100644
--- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
+++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs
@@ -126,7 +126,7 @@ namespace OpenSim.Region.Examples.SimpleModule
126 if (m_parts.Count == 1) 126 if (m_parts.Count == 1)
127 { 127 {
128 m_parts.Remove(m_rootPart.UUID); 128 m_parts.Remove(m_rootPart.UUID);
129 m_scene.RemoveSceneObject(this); 129 m_scene.DeleteSceneObject(this);
130 remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); 130 remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId);
131 remoteClient.AddMoney(50); 131 remoteClient.AddMoney(50);
132 remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); 132 remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", LLUUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully);