diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-19 22:49:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-19 22:49:55 +0000 |
commit | e8f7c4a06fce9e41fb23ffc42a566501a78210cb (patch) | |
tree | 3adf0b1f3eae778e9645450d0e51821142f7983b /src/core/inventory.h | |
parent | cc18095cded14f5e7e3f049e47fca2224134b647 (diff) |
player can only sell cargo on bases that allow it, trademenu layout updates
Diffstat (limited to 'src/core/inventory.h')
-rw-r--r-- | src/core/inventory.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/inventory.h b/src/core/inventory.h index aff9790..805d943 100644 --- a/src/core/inventory.h +++ b/src/core/inventory.h @@ -72,6 +72,11 @@ public: return inventory_capacity - inventory_capacity_used; } + /** + * @brief search the inventory for a specific item type + */ + Item *find(const Info *info) const; + /* ---- mutators --------------------------------------------------- */ /** @@ -88,12 +93,7 @@ public: * @brief removes all items from the inventory and delete them */ void clear(); - - /** - * @brief search the inventory for a specific item type - */ - Item *find(const Info *info); - + /** * @brief set the timestamp */ |