mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	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
			
			
This commit is contained in:
		@@ -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),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user