Null reference in llGetObjectMass on a seated avatar.

0.7.4.1
Talun 2012-04-16 20:24:56 +01:00 committed by Justin Clark-Casey (justincc)
parent e6ec83125b
commit 5655239f44
1 changed files with 1 additions and 1 deletions

View File

@ -9255,7 +9255,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// child agents have a mass of 1.0
return 1;
else
return (double)avatar.PhysicsActor.Mass;
return (double)avatar.GetMass();
}
catch (KeyNotFoundException)
{