diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-18 19:55:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 19:55:15 +0200 |
commit | 4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (patch) | |
tree | 57ce8401a5f6538024c1f19d37d576fba21e147b /src/player.cpp | |
parent | 8f7785771b9e02b1a1daf7a252550d78ea93053d (diff) | |
download | minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.gz minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.bz2 minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.zip |
Cpp11 patchset 11: continue working on constructor style migration (#6004)
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/player.cpp b/src/player.cpp index 85bc639ec..53e173498 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -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); |