summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
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)