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).
This commit is contained in:
T0ny2 2017-05-07 00:37:37 +01:00 committed by paramat
parent c6e96c645b
commit d067894816

@ -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),