Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the RegionFlags are currently implemented within EstateSettings, thus this is always 0.

ThreadPoolClientBranch
alondria 2008-02-10 18:08:02 +00:00
parent 04a5a57b3d
commit c2632a2eb9
1 changed files with 2 additions and 4 deletions

View File

@ -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)