From a3e73726868c2a1659a7816051e8a8be2e42c72a Mon Sep 17 00:00:00 2001 From: t0ny2 Date: Tue, 11 Apr 2017 18:29:24 +0100 Subject: 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 --- src/script/lua_api/l_localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3