aboutsummaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-16 19:54:08 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-16 19:54:08 +0300
commitbc59c185033c1d71d37da81261b72bd93f24e10c (patch)
tree8cbb9c8f558d22bd9ac10f9b348ded26f8e40ee0 /src/player.cpp
parent94c9686020798c8ec8113c242dc1dfe0c2accf71 (diff)
downloadminetest-bc59c185033c1d71d37da81261b72bd93f24e10c.tar.gz
minetest-bc59c185033c1d71d37da81261b72bd93f24e10c.tar.bz2
minetest-bc59c185033c1d71d37da81261b72bd93f24e10c.zip
Fixed two compiler warnings
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.cpp b/src/player.cpp
index e568d7dee..3f92e899c 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -79,12 +79,12 @@ Player::Player():
swimming_up(false),
craftresult_is_preview(true),
hp(20),
+ privs(PRIV_DEFAULT),
peer_id(PEER_ID_INEXISTENT),
m_pitch(0),
m_yaw(0),
m_speed(0,0,0),
- m_position(0,0,0),
- privs(PRIV_DEFAULT)
+ m_position(0,0,0)
{
updateName("<not set>");
resetInventory();