diff options
author | mingchen | 2008-03-22 23:10:22 +0000 |
---|---|---|
committer | mingchen | 2008-03-22 23:10:22 +0000 |
commit | 71ca162821ac0e5aae5f91c433b91549ae6d5419 (patch) | |
tree | fa2f13c2541075aba6807fcf95364466a785bd51 /OpenSim/Region/ExtensionsScriptModule | |
parent | Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). (diff) | |
download | opensim-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 'OpenSim/Region/ExtensionsScriptModule')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | 4 |
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; | |||
29 | using System.Text; | 29 | using System.Text; |
30 | using Axiom.Math; | 30 | using Axiom.Math; |
31 | using OpenSim.Framework.Console; | 31 | using OpenSim.Framework.Console; |
32 | using OpenSim.Region.Environment.LandManagement; | 32 | using OpenSim.Region.Environment.Interfaces; |
33 | using OpenSim.Region.Environment.Scenes; | 33 | using OpenSim.Region.Environment.Scenes; |
34 | using Key = libsecondlife.LLUUID; | 34 | using Key = libsecondlife.LLUUID; |
35 | using Rotation = libsecondlife.LLQuaternion; | 35 | using 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! |