summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorT0ny2 <t0ny2@users.noreply.github.com>2017-05-07 00:37:37 +0100
committerparamat <mat.gregory@virginmedia.com>2017-05-07 06:09:30 +0100
commitd0678948165768472fc940c03e78cba787f49ea5 (patch)
tree2f0a3bc24ca8e38e2ac056017704a86d70d2f983 /src/script
parentc6e96c645b9f114ef12f814bea62d9a9b78064cf (diff)
downloadminetest-d0678948165768472fc940c03e78cba787f49ea5.tar.gz
minetest-d0678948165768472fc940c03e78cba787f49ea5.tar.bz2
minetest-d0678948165768472fc940c03e78cba787f49ea5.zip
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).
Diffstat (limited to 'src/script')
-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),