Replace occurrence of luaL_reg in l_camera.cpp
authorT0ny2 <t0ny2@users.noreply.github.com>
Sat, 6 May 2017 23:37:37 +0000 (00:37 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sun, 7 May 2017 05:09:30 +0000 (06:09 +0100)
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

index 0bdf4907b7cee159111d70b1107c0c88027e0614..86238419880bd7da6917604c7e73a195522630d5 100644 (file)
@@ -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),