Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
t0ny2 authored and paramat committed May 7, 2017
1 parent c6e96c6 commit d067894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/lua_api/l_camera.cpp
Expand Up @@ -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),
Expand Down

0 comments on commit d067894

Please sign in to comment.