summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 0a82aae7b..abdc92723 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -47,6 +47,7 @@ struct SlotUsed final : public std::unary_function<Item*, bool>
};
Inventory::Inventory(const int type, const int size) :
+ mInventoryListeners(),
mType(type),
mSize(size == -1 ? static_cast<unsigned>(
Net::getInventoryHandler()->getSize(type))