mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
c6e96c645b
commit
d067894816
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ void LuaCamera::Register(lua_State *L)
|
||||||
}
|
}
|
||||||
|
|
||||||
const char LuaCamera::className[] = "Camera";
|
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_camera_mode), luamethod(LuaCamera, get_fov),
|
||||||
luamethod(LuaCamera, get_pos), luamethod(LuaCamera, get_offset),
|
luamethod(LuaCamera, get_pos), luamethod(LuaCamera, get_offset),
|
||||||
luamethod(LuaCamera, get_look_dir),
|
luamethod(LuaCamera, get_look_dir),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue