From 71ca162821ac0e5aae5f91c433b91549ae6d5419 Mon Sep 17 00:00:00 2001 From: mingchen Date: Sat, 22 Mar 2008 23:10:22 +0000 Subject: *Moved LandManagement into its own region module (spiffy!) --- OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs') 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; using System.Text; using Axiom.Math; using OpenSim.Framework.Console; -using OpenSim.Region.Environment.LandManagement; +using OpenSim.Region.Environment.Interfaces; using OpenSim.Region.Environment.Scenes; using Key = libsecondlife.LLUUID; using Rotation = libsecondlife.LLQuaternion; @@ -105,7 +105,7 @@ namespace OpenSim.Region.ExtensionsScriptModule public void osAddToLandPassList(Key avatar, float hours) { Vector myPosition = Task.AbsolutePosition; - Land myParcel = Scene.LandManager.getLandObject(myPosition.X, myPosition.Y); + ILandObject myParcel = Scene.LandChannel.getLandObject(myPosition.X, myPosition.Y); if (myParcel == null) { //Dont do anything! -- cgit v1.1