correcting typo

connector_plugin
SignpostMarv 2012-09-30 12:27:53 +01:00 committed by Justin Clark-Casey (justincc)
parent f555febdb7
commit a1679517d3
1 changed files with 3 additions and 3 deletions

View File

@ -3588,7 +3588,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
} }
protected void DropAttachemntAt(bool checkPerms, LSL_Vector pos, LSL_Rotation rot) protected void DropAttachmentAt(bool checkPerms, LSL_Vector pos, LSL_Rotation rot)
{ {
if (checkPerms && ShoutErrorOnLackingOwnerPerms(ScriptBaseClass.PERMISSION_ATTACH, "Cannot drop attachment")) if (checkPerms && ShoutErrorOnLackingOwnerPerms(ScriptBaseClass.PERMISSION_ATTACH, "Cannot drop attachment"))
{ {
@ -3625,7 +3625,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
CheckThreatLevel(ThreatLevel.Moderate, "osDropAttachmentAt"); CheckThreatLevel(ThreatLevel.Moderate, "osDropAttachmentAt");
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
DropAttachemntAt(true, pos, rot); DropAttachmentAt(true, pos, rot);
} }
public void osForceDropAttachmentAt(LSL_Vector pos, LSL_Rotation rot) public void osForceDropAttachmentAt(LSL_Vector pos, LSL_Rotation rot)
@ -3633,7 +3633,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
CheckThreatLevel(ThreatLevel.High, "osForceDropAttachmentAt"); CheckThreatLevel(ThreatLevel.High, "osForceDropAttachmentAt");
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
DropAttachemntAt(false, pos, rot); DropAttachmentAt(false, pos, rot);
} }
} }
} }