Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the RegionFlags are currently implemented within EstateSettings, thus this is always 0.
parent
04a5a57b3d
commit
c2632a2eb9
|
@ -3389,15 +3389,13 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
public int llGetParcelFlags(LSL_Types.Vector3 pos)
|
public int llGetParcelFlags(LSL_Types.Vector3 pos)
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llGetParcelFlags");
|
return (int)World.LandManager.getLandObject((float)pos.x, (float)pos.y).landData.landFlags;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int llGetRegionFlags()
|
public int llGetRegionFlags()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llGetRegionFlags");
|
return (int)World.RegionInfo.EstateSettings.regionFlags;
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public string llXorBase64StringsCorrect(string str1, string str2)
|
public string llXorBase64StringsCorrect(string str1, string str2)
|
||||||
|
|
Loading…
Reference in New Issue