diff --git a/src/scripting/lua_api.hpp b/src/scripting/lua_api.hpp index 20d88efcf00..30274fa7b63 100644 --- a/src/scripting/lua_api.hpp +++ b/src/scripting/lua_api.hpp @@ -120,11 +120,6 @@ bool luaW_pcall(lua_State *L, int nArgs, int nRets, bool allow_wml_error = false */ bool luaW_getglobal(lua_State *L, ...); -/** - * Converts a Lua value to a unit pointer. - */ -unit *luaW_tounit(lua_State *L, int index, bool only_on_map); - /** * Converts a Lua value to a unit pointer. */