Mantis #8481 part two.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
TBG Renfold
2019-07-26 19:08:40 +01:00
committed by UbitUmarov
parent 8de67dad76
commit 0163af970f
3 changed files with 16 additions and 0 deletions

View File

@@ -1600,6 +1600,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return 0.0f;
}
public int osGetParcelDwell(LSL_Vector pos)
{
LandData land = World.GetLandData(pos);
if (land != null)
{
return (int)land.Dwell;
}
return 0;
}
// Routines for creating and managing parcels programmatically
public void osParcelJoin(LSL_Vector pos1, LSL_Vector pos2)
{