refactor: Use LSL_Vector(Vector3) constructor in llGetVel()

This commit is contained in:
Justin Clark-Casey (justincc)
2013-03-14 22:02:43 +00:00
parent ffbbe29229
commit 04e806036f

View File

@@ -2314,7 +2314,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
vel = m_host.Velocity;
}
return new LSL_Vector(vel.X, vel.Y, vel.Z);
return new LSL_Vector(vel);
}
public LSL_Vector llGetAccel()