ソースを参照

PointForceController getPosition badly defined - fixed

capnlove 12 年 前
コミット
badc5e4c78

+ 1 - 1
engine/source/2d/controllers/PointForceController_ScriptBinding.h

@@ -52,7 +52,7 @@ ConsoleMethod(PointForceController, setPosition, void, 3, 4,    "(float x, float
 
 //-----------------------------------------------------------------------------
 
-ConsoleMethod(PointForceController, PointForceController, const char*, 2, 2,    "() Gets the position of the force center.\n"
+ConsoleMethod(PointForceController, getPosition, const char*, 2, 2,    "() Gets the position of the force center.\n"
                                                                                 "@return (float x/float y) The x and y (horizontal and vertical) position of the force center.")
 {
     // Get position.