aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule
diff options
context:
space:
mode:
authormingchen2008-03-22 23:10:22 +0000
committermingchen2008-03-22 23:10:22 +0000
commit71ca162821ac0e5aae5f91c433b91549ae6d5419 (patch)
treefa2f13c2541075aba6807fcf95364466a785bd51 /OpenSim/Region/ExtensionsScriptModule
parentImplements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). (diff)
downloadopensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.zip
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.gz
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.bz2
opensim-SC_OLD-71ca162821ac0e5aae5f91c433b91549ae6d5419.tar.xz
*Moved LandManagement into its own region module (spiffy!)
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
index 1578348..d0a0e86 100644
--- a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
@@ -29,7 +29,7 @@ using System;
29using System.Text; 29using System.Text;
30using Axiom.Math; 30using Axiom.Math;
31using OpenSim.Framework.Console; 31using OpenSim.Framework.Console;
32using OpenSim.Region.Environment.LandManagement; 32using OpenSim.Region.Environment.Interfaces;
33using OpenSim.Region.Environment.Scenes; 33using OpenSim.Region.Environment.Scenes;
34using Key = libsecondlife.LLUUID; 34using Key = libsecondlife.LLUUID;
35using Rotation = libsecondlife.LLQuaternion; 35using Rotation = libsecondlife.LLQuaternion;
@@ -105,7 +105,7 @@ namespace OpenSim.Region.ExtensionsScriptModule
105 public void osAddToLandPassList(Key avatar, float hours) 105 public void osAddToLandPassList(Key avatar, float hours)
106 { 106 {
107 Vector myPosition = Task.AbsolutePosition; 107 Vector myPosition = Task.AbsolutePosition;
108 Land myParcel = Scene.LandManager.getLandObject(myPosition.X, myPosition.Y); 108 ILandObject myParcel = Scene.LandChannel.getLandObject(myPosition.X, myPosition.Y);
109 if (myParcel == null) 109 if (myParcel == null)
110 { 110 {
111 //Dont do anything! 111 //Dont do anything!