diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/ComplexObject.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs index c8c4624..3b776e7 100644 --- a/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs +++ b/OpenSim/Region/Examples/SimpleModule/ComplexObject.cs | |||
@@ -114,7 +114,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
114 | { | 114 | { |
115 | m_parts.Remove(part.UUID); | 115 | m_parts.Remove(part.UUID); |
116 | 116 | ||
117 | remoteClient.SendKiPrimitive(m_regionHandle, part.LocalId); | 117 | remoteClient.SendKillObject(m_regionHandle, part.LocalId); |
118 | remoteClient.AddMoney(1); | 118 | remoteClient.AddMoney(1); |
119 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | 119 | remoteClient.SendChatMessage("Poof!", 1, AbsolutePosition, "Party Party", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |
120 | } | 120 | } |
@@ -125,7 +125,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
125 | { | 125 | { |
126 | m_parts.Remove(m_rootPart.UUID); | 126 | m_parts.Remove(m_rootPart.UUID); |
127 | m_scene.DeleteSceneObject(this); | 127 | m_scene.DeleteSceneObject(this); |
128 | remoteClient.SendKiPrimitive(m_regionHandle, m_rootPart.LocalId); | 128 | remoteClient.SendKillObject(m_regionHandle, m_rootPart.LocalId); |
129 | remoteClient.AddMoney(50); | 129 | remoteClient.AddMoney(50); |
130 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); | 130 | remoteClient.SendChatMessage("KABLAM!!!", 1, AbsolutePosition, "Groupie Groupie", UUID.Zero, (byte)ChatSourceType.Object, (byte)ChatAudibleLevel.Fully); |
131 | } | 131 | } |