summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inventory.h b/src/inventory.h
index df2aac38..ee8d072a 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -33,7 +33,7 @@ class Inventory
/**
* Constructor.
*/
- Inventory(int size);
+ Inventory(int size, int offset);
/**
* Destructor.
@@ -111,6 +111,7 @@ class Inventory
protected:
Item **mItems; /**< The holder of items */
int mSize; /**< The max number of inventory items */
+ int mOffset; /**< Offset used by the inventory */
};
#endif