From: T0ny2 <t0ny2@users.noreply.github.com>
Date: Sat, 6 May 2017 23:37:37 +0000 (+0100)
Subject: Replace occurrence of luaL_reg in l_camera.cpp
X-Git-Tag: 0.4.16~138
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0678948165768472fc940c03e78cba787f49ea5;p=oweals%2Fminetest.git

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).
---

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),