From: Kahrl Date: Sat, 14 Jan 2012 10:05:24 +0000 (+0100) Subject: Fix inventory glitch when connecting as new user X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=f22c73f50169b978f13c0b6511805b9d4a1a6871;p=zefram%2Fminetest%2Fminetest_engine.git Fix inventory glitch when connecting as new user --- 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),