Replace occurrence of luaL_reg in l_localplayer (#5566)
authort0ny2 <t0ny2@users.noreply.github.com>
Tue, 11 Apr 2017 17:29:24 +0000 (18:29 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Tue, 11 Apr 2017 17:29:24 +0000 (19:29 +0200)
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

index 8aac5355cba089df0e50895044fbcee92a6e3edd..4b44bb70926ee24d6e39d6427ff6acd732225b01 100644 (file)
@@ -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),