Skip to content

Commit d067894

Browse files
t0ny2paramat
authored andcommitted
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).
1 parent c6e96c6 commit d067894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/lua_api/l_camera.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void LuaCamera::Register(lua_State *L)
191191
}
192192

193193
const char LuaCamera::className[] = "Camera";
194-
const luaL_reg LuaCamera::methods[] = {luamethod(LuaCamera, set_camera_mode),
194+
const luaL_Reg LuaCamera::methods[] = {luamethod(LuaCamera, set_camera_mode),
195195
luamethod(LuaCamera, get_camera_mode), luamethod(LuaCamera, get_fov),
196196
luamethod(LuaCamera, get_pos), luamethod(LuaCamera, get_offset),
197197
luamethod(LuaCamera, get_look_dir),

0 commit comments

Comments
 (0)