aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/SitStand
diff options
context:
space:
mode:
authorUbitUmarov2019-10-22 13:04:01 +0100
committerUbitUmarov2019-10-22 13:04:01 +0100
commit46e36601cb3c54e6e441284aed7c0c5c35970a4c (patch)
treebf52486c1e8edaae327d7d93ea3ae6e6fd48a61d /OpenSim/Region/OptionalModules/Avatar/SitStand
parentremove some more useless NULL arguments (diff)
downloadopensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.zip
opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.gz
opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.bz2
opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.xz
remove some more useless NULL arguments
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/SitStand')
-rwxr-xr-xOpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
index 1dd5b0a..ef7d852 100755
--- a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs
@@ -144,7 +144,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
144 { 144 {
145 MainConsole.Instance.Output( 145 MainConsole.Instance.Output(
146 "Sitting {0} on {1} {2} in {3}", 146 "Sitting {0} on {1} {2} in {3}",
147 null,
148 sp.Name, sitPart.ParentGroup.Name, sitPart.ParentGroup.UUID, m_scene.Name); 147 sp.Name, sitPart.ParentGroup.Name, sitPart.ParentGroup.UUID, m_scene.Name);
149 148
150 sp.HandleAgentRequestSit(sp.ControllingClient, sp.UUID, sitPart.UUID, Vector3.Zero); 149 sp.HandleAgentRequestSit(sp.ControllingClient, sp.UUID, sitPart.UUID, Vector3.Zero);
@@ -154,7 +153,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
154 { 153 {
155 MainConsole.Instance.Output( 154 MainConsole.Instance.Output(
156 "Could not find any unoccupied set seat on which to sit {0} in {1}. Aborting", 155 "Could not find any unoccupied set seat on which to sit {0} in {1}. Aborting",
157 null,
158 sp.Name, m_scene.Name); 156 sp.Name, m_scene.Name);
159 157
160 break; 158 break;
@@ -179,7 +177,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
179 { 177 {
180 if (sp.SitGround || sp.IsSatOnObject) 178 if (sp.SitGround || sp.IsSatOnObject)
181 { 179 {
182 MainConsole.Instance.Output("Standing {0} in {1}", null, sp.Name, m_scene.Name); 180 MainConsole.Instance.Output("Standing {0} in {1}", sp.Name, m_scene.Name);
183 sp.StandUp(); 181 sp.StandUp();
184 } 182 }
185 } 183 }