mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user