projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e96c6
)
Replace occurrence of luaL_reg in l_camera.cpp
author
T0ny2
<t0ny2@users.noreply.github.com>
Sat, 6 May 2017 23:37:37 +0000
(
00:37
+0100)
committer
paramat
<mat.gregory@virginmedia.com>
Sun, 7 May 2017 05:09:30 +0000
(06:09 +0100)
Related to commit
41c5483
. Replace an occurrence of luaL_reg in
src/script/lua_api/l_camera.cpp (added by commit
de028fc
).
src/script/lua_api/l_camera.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/l_camera.cpp
b/src/script/lua_api/l_camera.cpp
index 0bdf4907b7cee159111d70b1107c0c88027e0614..86238419880bd7da6917604c7e73a195522630d5 100644
(file)
--- 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_
r
eg LuaCamera::methods[] = {luamethod(LuaCamera, set_camera_mode),
+const luaL_
R
eg 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),