mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
change value of PARCEL_DETAILS_DWELL to a higher value to give more room for standard values, change return types, update script syntaxe
This commit is contained in:
@@ -14343,7 +14343,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
case "5":
|
||||
ret.Add(new LSL_Key(land.GlobalID.ToString()));
|
||||
break;
|
||||
case "20":
|
||||
case "64":
|
||||
ret.Add(new LSL_Integer(land.Dwell));
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -1600,7 +1600,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
public int osGetParcelDwell(LSL_Vector pos)
|
||||
public LSL_Integer osGetParcelDwell(LSL_Vector pos)
|
||||
{
|
||||
LandData land = World.GetLandData(pos);
|
||||
if (land != null)
|
||||
|
||||
Reference in New Issue
Block a user