diff options
Diffstat (limited to 'src/scripting/lua.cpp')
-rw-r--r-- | src/scripting/lua.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp index dbd50776..86bf38f8 100644 --- a/src/scripting/lua.cpp +++ b/src/scripting/lua.cpp @@ -55,7 +55,7 @@ extern "C" { * This file includes all script bindings available to LUA scripts. * When you add or change a script binding please document it on * - * http://wiki.themanaworld.org/index.php/Scripting + * http://doc.manasource.org/scripting */ @@ -566,11 +566,11 @@ static int being_set_status_time(lua_State *s) /** * Returns the current speed of the being -* mana.being_get_speed(Being *being, int id) +* mana.being_get_speed(Being *being) */ static int being_get_speed(lua_State *s) { - if (!lua_isuserdata(s, 1) || !lua_isnumber(s, 2)) + if (!lua_isuserdata(s, 1)) { raiseScriptError(s, "being_get_speed called with incorrect parameters."); return 0; @@ -582,7 +582,7 @@ static int being_get_speed(lua_State *s) /** * Sets the speed of the being -* mana.being_set_speed(Being *being) +* mana.being_set_speed(Being *being, float speed) */ static int being_set_speed(lua_State *s) { |