Skip to content
Permalink
Browse files

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 a3e73726868c2a1659a7816051e8a8be2e42c72a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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),

0 comments on commit a3e7372

Please sign in to comment.
You can’t perform that action at this time.