aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoralondria2008-02-10 18:08:02 +0000
committeralondria2008-02-10 18:08:02 +0000
commitc2632a2eb9ddd770e38f1a73bf56b732cc89dfc4 (patch)
treecf1be86fbd9dae0549a07949610f86e640b4df2b
parentImplements llGetObjectMass() (diff)
downloadopensim-SC_OLD-c2632a2eb9ddd770e38f1a73bf56b732cc89dfc4.zip
opensim-SC_OLD-c2632a2eb9ddd770e38f1a73bf56b732cc89dfc4.tar.gz
opensim-SC_OLD-c2632a2eb9ddd770e38f1a73bf56b732cc89dfc4.tar.bz2
opensim-SC_OLD-c2632a2eb9ddd770e38f1a73bf56b732cc89dfc4.tar.xz
Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the RegionFlags are currently implemented within EstateSettings, thus this is always 0.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index e59978a..fee36f0 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3389,15 +3389,13 @@ namespace OpenSim.Region.ScriptEngine.Common
3389 public int llGetParcelFlags(LSL_Types.Vector3 pos) 3389 public int llGetParcelFlags(LSL_Types.Vector3 pos)
3390 { 3390 {
3391 m_host.AddScriptLPS(1); 3391 m_host.AddScriptLPS(1);
3392 NotImplemented("llGetParcelFlags"); 3392 return (int)World.LandManager.getLandObject((float)pos.x, (float)pos.y).landData.landFlags;
3393 return 0;
3394 } 3393 }
3395 3394
3396 public int llGetRegionFlags() 3395 public int llGetRegionFlags()
3397 { 3396 {
3398 m_host.AddScriptLPS(1); 3397 m_host.AddScriptLPS(1);
3399 NotImplemented("llGetRegionFlags"); 3398 return (int)World.RegionInfo.EstateSettings.regionFlags;
3400 return 0;
3401 } 3399 }
3402 3400
3403 public string llXorBase64StringsCorrect(string str1, string str2) 3401 public string llXorBase64StringsCorrect(string str1, string str2)