summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:55:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:55:20 +0300
commitfd050698f74b5dc7a9867bc93ba6b7c65ef2462f (patch)
tree246017e7d1b399e60a5d7b97a7106cd75587b88f /src/inventory.cpp
parent4228763829f71ec4db50ed185483d7707c5e47eb (diff)
downloadmanaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.gz
manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.bz2
manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.tar.xz
manaplus-fd050698f74b5dc7a9867bc93ba6b7c65ef2462f.zip
Remove getter for inventoryHandler.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
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)