mirror of
https://github.com/minetest/minetest.git
synced 2024-12-25 15:42:24 +01:00
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:
parent
c6e96c645b
commit
d067894816
@ -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…
Reference in New Issue
Block a user