Skip to content

Commit a3e7372

Browse files
t0ny2nerzhul
authored andcommittedApr 11, 2017
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
1 parent 5991176 commit a3e7372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/script/lua_api/l_localplayer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ void LuaLocalPlayer::Register(lua_State *L)
382382
}
383383

384384
const char LuaLocalPlayer::className[] = "LocalPlayer";
385-
const luaL_reg LuaLocalPlayer::methods[] = {
385+
const luaL_Reg LuaLocalPlayer::methods[] = {
386386
luamethod(LuaLocalPlayer, get_velocity),
387387
luamethod(LuaLocalPlayer, get_hp),
388388
luamethod(LuaLocalPlayer, get_name),

0 commit comments

Comments
 (0)
Please sign in to comment.