summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/script/lua_api/l_camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_camera.cpp b/src/script/lua_api/l_camera.cpp
index 0bdf4907b..862384198 100644
--- a/src/script/lua_api/l_camera.cpp
+++ b/src/script/lua_api/l_camera.cpp
@@ -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),