aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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)