From f22c73f50169b978f13c0b6511805b9d4a1a6871 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Sat, 14 Jan 2012 11:05:24 +0100 Subject: [PATCH] Fix inventory glitch when connecting as new user --- src/serverremoteplayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/serverremoteplayer.cpp b/src/serverremoteplayer.cpp index db4b4470..b4dbbdb1 100644 --- a/src/serverremoteplayer.cpp +++ b/src/serverremoteplayer.cpp @@ -46,6 +46,7 @@ ServerRemotePlayer::ServerRemotePlayer(ServerEnvironment *env, v3f pos_, u16 pee ServerActiveObject(env, pos_), m_last_good_position(0,0,0), m_last_good_position_age(0), + m_wield_index(0), m_inventory_not_sent(false), m_hp_not_sent(false), m_is_in_environment(false), -- 2.30.2