Browse Source

fixed typo for getRevoluteJointMotor

capnlove 12 years ago
parent
commit
acbe0fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/source/2d/scene/Scene_ScriptBinding.h

+ 1 - 1
engine/source/2d/scene/Scene_ScriptBinding.h

@@ -952,7 +952,7 @@ ConsoleMethod(Scene, getRevoluteJointMotor, const char*, 3, 3,  "(jointId) Gets
     F32 maxMotorTorque;
 
     // Access joint.
-    if ( !object->getRevoluteJointLimit( jointId, enableMotor, motorSpeed, maxMotorTorque ) )
+    if ( !object->getRevoluteJointMotor( jointId, enableMotor, motorSpeed, maxMotorTorque ) )
     {
         return NULL;
     }