projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c920df7
)
Fix inventory glitch when connecting as new user
author
Kahrl
<kahrl@gmx.net>
Sat, 14 Jan 2012 10:05:24 +0000
(11:05 +0100)
committer
Kahrl
<kahrl@gmx.net>
Sat, 14 Jan 2012 10:05:24 +0000
(11:05 +0100)
src/serverremoteplayer.cpp
patch
|
blob
|
history
diff --git
a/src/serverremoteplayer.cpp
b/src/serverremoteplayer.cpp
index db4b44707905d0b28363b225e26c6c7e678667d5..b4dbbdb1b0663f7d9abd45b972079c247e8252ce 100644
(file)
--- 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),