diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a19427d..5581727 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -9255,7 +9255,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9255 | // child agents have a mass of 1.0 | 9255 | // child agents have a mass of 1.0 |
9256 | return 1; | 9256 | return 1; |
9257 | else | 9257 | else |
9258 | return (double)avatar.PhysicsActor.Mass; | 9258 | return (double)avatar.GetMass(); |
9259 | } | 9259 | } |
9260 | catch (KeyNotFoundException) | 9260 | catch (KeyNotFoundException) |
9261 | { | 9261 | { |