mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the RegionFlags are currently implemented within EstateSettings, thus this is always 0.
This commit is contained in:
@@ -3389,15 +3389,13 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
public int llGetParcelFlags(LSL_Types.Vector3 pos)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetParcelFlags");
|
||||
return 0;
|
||||
return (int)World.LandManager.getLandObject((float)pos.x, (float)pos.y).landData.landFlags;
|
||||
}
|
||||
|
||||
public int llGetRegionFlags()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetRegionFlags");
|
||||
return 0;
|
||||
return (int)World.RegionInfo.EstateSettings.regionFlags;
|
||||
}
|
||||
|
||||
public string llXorBase64StringsCorrect(string str1, string str2)
|
||||
|
||||
Reference in New Issue
Block a user