diff options
author | Kahrl <kahrl@gmx.net> | 2012-01-14 11:05:24 +0100 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2012-01-14 11:05:24 +0100 |
commit | f22c73f50169b978f13c0b6511805b9d4a1a6871 (patch) | |
tree | d920dc6cd4804c177b5672deb182c1c6db87fa13 /src | |
parent | c920df748b01f6ecbd98adaf07f6d92c64a7213c (diff) | |
download | minetest-f22c73f50169b978f13c0b6511805b9d4a1a6871.tar.gz minetest-f22c73f50169b978f13c0b6511805b9d4a1a6871.tar.bz2 minetest-f22c73f50169b978f13c0b6511805b9d4a1a6871.zip |
Fix inventory glitch when connecting as new user
Diffstat (limited to 'src')
-rw-r--r-- | src/serverremoteplayer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serverremoteplayer.cpp b/src/serverremoteplayer.cpp index db4b44707..b4dbbdb1b 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), |