summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 891a0d7b..7aea3013 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -142,7 +142,7 @@ class Inventory
Type mType;
Item **mItems; /**< The holder of items */
int mSize; /**< The max number of inventory items */
- int mUsed; /**< THe number of slots in use */
+ int mUsed = 0; /**< THe number of slots in use */
};
#endif // INVENTORY_H