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
master
t0ny2 2017-04-11 18:29:24 +01:00 committed by Loïc Blot
parent 59911761ef
commit a3e7372686
1 changed files with 1 additions and 1 deletions

View 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),