Replace occurrence of luaL_reg in l_camera.cpp
Related to commit41c5483
. Replace an occurrence of luaL_reg in src/script/lua_api/l_camera.cpp (added by commitde028fc
).
This commit is contained in:
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),
|
||||
|
|
Loading…
Reference in New Issue