summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorm4nu3lf <m4nu3lf@gmail.com>2017-02-03 21:23:23 +0000
committerm4nu3lf <m4nu3lf@gmail.com>2017-02-03 21:23:23 +0000
commit0d9b53ce5e764715f5686f403664177e977e3573 (patch)
tree2fb555bbc329649eae7904ce844f8443ea298cef /servers
parentd2b2d6801f9cf454a880a92aaa9aa38ce4264002 (diff)
Fixed property setter in G6DOF joint
Diffstat (limited to 'servers')
-rw-r--r--servers/physics/joints/generic_6dof_joint_sw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/joints/generic_6dof_joint_sw.cpp b/servers/physics/joints/generic_6dof_joint_sw.cpp
index 48f70d9077..8d3fc4721a 100644
--- a/servers/physics/joints/generic_6dof_joint_sw.cpp
+++ b/servers/physics/joints/generic_6dof_joint_sw.cpp
@@ -676,7 +676,7 @@ float Generic6DOFJointSW::get_param(Vector3::Axis p_axis,PhysicsServer::G6DOFJoi
} break;
case PhysicsServer::G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT: {
- return m_angularLimits[p_axis].m_maxLimitForce;
+ return m_angularLimits[p_axis].m_maxMotorForce;
} break;
}