mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Fixed MotorJoint:getType.
This commit is contained in:
@@ -90,6 +90,8 @@ Joint::Type Joint::getType() const
|
|||||||
return JOINT_WHEEL;
|
return JOINT_WHEEL;
|
||||||
case e_ropeJoint:
|
case e_ropeJoint:
|
||||||
return JOINT_ROPE;
|
return JOINT_ROPE;
|
||||||
|
case e_motorJoint:
|
||||||
|
return JOINT_MOTOR;
|
||||||
default:
|
default:
|
||||||
return JOINT_INVALID;
|
return JOINT_INVALID;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user