summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-22 11:29:06 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-22 11:29:06 +0200
commit2e41a5e304d9c35ece851b8a65482bca8784b582 (patch)
treeb8508e3d2f752367a74970385fa4ec9244eb04b0 /src/player.cpp
parent4ec61b0ccdedecf54cd697d0b1cfa16aaf92bf82 (diff)
downloadminetest-2e41a5e304d9c35ece851b8a65482bca8784b582.tar.gz
minetest-2e41a5e304d9c35ece851b8a65482bca8784b582.tar.bz2
minetest-2e41a5e304d9c35ece851b8a65482bca8784b582.zip
just savin'
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index d38d5eac8..e6caff03c 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -29,12 +29,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Player::Player():
touching_ground(false),
in_water(false),
- inventory(PLAYER_INVENTORY_SIZE),
peer_id(PEER_ID_NEW),
m_speed(0,0,0),
m_position(0,0,0)
{
updateName("<not set>");
+ inventory.addList("main", PLAYER_INVENTORY_SIZE);
+ inventory.addList("craft", 9);
}
Player::~Player()