From d0678948165768472fc940c03e78cba787f49ea5 Mon Sep 17 00:00:00 2001 From: T0ny2 Date: Sun, 7 May 2017 00:37:37 +0100 Subject: Replace occurrence of luaL_reg in l_camera.cpp Related to commit 41c5483. Replace an occurrence of luaL_reg in src/script/lua_api/l_camera.cpp (added by commit de028fc). --- src/script/lua_api/l_camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script') diff --git a/src/script/lua_api/l_camera.cpp b/src/script/lua_api/l_camera.cpp index 0bdf4907b..862384198 100644 --- a/src/script/lua_api/l_camera.cpp +++ b/src/script/lua_api/l_camera.cpp @@ -191,7 +191,7 @@ void LuaCamera::Register(lua_State *L) } const char LuaCamera::className[] = "Camera"; -const luaL_reg LuaCamera::methods[] = {luamethod(LuaCamera, set_camera_mode), +const luaL_Reg LuaCamera::methods[] = {luamethod(LuaCamera, set_camera_mode), luamethod(LuaCamera, get_camera_mode), luamethod(LuaCamera, get_fov), luamethod(LuaCamera, get_pos), luamethod(LuaCamera, get_offset), luamethod(LuaCamera, get_look_dir), -- cgit v1.2.3