diff options
author | t0ny2 <t0ny2@users.noreply.github.com> | 2017-04-11 18:29:24 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-11 19:29:24 +0200 |
commit | a3e73726868c2a1659a7816051e8a8be2e42c72a (patch) | |
tree | 6c526f8b43d5712bf182c589f7c4d0f1e2eaced7 /src/script/lua_api | |
parent | 59911761ef529f118e7ba697d4f5983d43dbb383 (diff) | |
download | minetest-a3e73726868c2a1659a7816051e8a8be2e42c72a.tar.gz minetest-a3e73726868c2a1659a7816051e8a8be2e42c72a.tar.bz2 minetest-a3e73726868c2a1659a7816051e8a8be2e42c72a.zip |
Replace occurrence of luaL_reg in l_localplayer (#5566)
Related to commit 41c5483. Replace a final occurrence of luaL_reg in
src/script/lua_api/l_localplayer.cpp
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_localplayer.cpp b/src/script/lua_api/l_localplayer.cpp index 8aac5355c..4b44bb709 100644 --- a/src/script/lua_api/l_localplayer.cpp +++ b/src/script/lua_api/l_localplayer.cpp @@ -382,7 +382,7 @@ void LuaLocalPlayer::Register(lua_State *L) } const char LuaLocalPlayer::className[] = "LocalPlayer"; -const luaL_reg LuaLocalPlayer::methods[] = { +const luaL_Reg LuaLocalPlayer::methods[] = { luamethod(LuaLocalPlayer, get_velocity), luamethod(LuaLocalPlayer, get_hp), luamethod(LuaLocalPlayer, get_name), |