Cpp11 initializers: last src root changeset (#6022)
[oweals/minetest.git] / src / player.cpp
index 85bc639ec17970b2f05f998795a021ed6663211e..53e1734981da2b227fc78b846af591e884c0b53f 100644 (file)
@@ -30,11 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 
 Player::Player(const char *name, IItemDefManager *idef):
-       inventory(idef),
-       peer_id(PEER_ID_INEXISTENT),
-       keyPressed(0),
-// protected
-       m_speed(0,0,0)
+       inventory(idef)
 {
        strlcpy(m_name, name, PLAYERNAME_SIZE);