diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 6c5f257d..1a110810 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -98,8 +98,7 @@ LocalPlayer::LocalPlayer(int id, int job): mLastAction(-1), mWalkingDir(0), mPathSetByMouse(false), - mInventory(new Inventory(Net::getInventoryHandler() - ->getSize(Net::InventoryHandler::INVENTORY))), + mInventory(new Inventory(Inventory::INVENTORY)), mLocalWalkTime(-1), mMessageTime(0) { |