diff options
author | Justin Clark-Casey (justincc) | 2011-05-14 02:42:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-05-14 02:42:47 +0100 |
commit | 340e3ccf16a59512f86f9c5d08bda3ca8179f53e (patch) | |
tree | c15f67e131dfed0dd527160093ede7158ce482f3 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | simplify code in llGetParcelMaxPrims() to use existing code in LandObject rat... (diff) | |
download | opensim-SC-340e3ccf16a59512f86f9c5d08bda3ca8179f53e.zip opensim-SC-340e3ccf16a59512f86f9c5d08bda3ca8179f53e.tar.gz opensim-SC-340e3ccf16a59512f86f9c5d08bda3ca8179f53e.tar.bz2 opensim-SC-340e3ccf16a59512f86f9c5d08bda3ca8179f53e.tar.xz |
refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() instance methods since it didn't make sense to use anything other than the instance themselves.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 2010283..0240227 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9915,9 +9915,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9915 | return 0; | 9915 | return 0; |
9916 | 9916 | ||
9917 | if (sim_wide != 0) | 9917 | if (sim_wide != 0) |
9918 | return lo.GetSimulatorMaxPrimCount(lo); | 9918 | return lo.GetSimulatorMaxPrimCount(); |
9919 | else | 9919 | else |
9920 | return lo.GetParcelMaxPrimCount(lo); | 9920 | return lo.GetParcelMaxPrimCount(); |
9921 | } | 9921 | } |
9922 | 9922 | ||
9923 | public LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param) | 9923 | public LSL_List llGetParcelDetails(LSL_Vector pos, LSL_List param) |