Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
t0ny2 authored and nerzhul committed Apr 11, 2017
1 parent 5991176 commit a3e7372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/lua_api/l_localplayer.cpp
Expand Up @@ -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),
Expand Down

0 comments on commit a3e7372

Please sign in to comment.