diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:55:20 +0300 |
commit | fd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch) | |
tree | 246017e7d1b399e60a5d7b97a7106cd75587b88f /src/inventory.cpp | |
parent | 4228763829f71ec4db50ed185483d7707c5e47eb (diff) | |
download | manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2 manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz manaverse-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip |
Remove getter for inventoryHandler.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index 4248a9a73..b4a30d0a8 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -57,7 +57,7 @@ Inventory::Inventory(const int type, const int size1) : mInventoryListeners(), mType(type), mSize(size1 == -1 ? static_cast<unsigned>( - Net::getInventoryHandler()->getSize(type)) + inventoryHandler->getSize(type)) : static_cast<unsigned>(size1)), mItems(new Item*[mSize]), mUsed(0) |