Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-19 22:49:55 +0000
committerStijn Buys <ingar@osirion.org>2010-09-19 22:49:55 +0000
commite8f7c4a06fce9e41fb23ffc42a566501a78210cb (patch)
tree3adf0b1f3eae778e9645450d0e51821142f7983b /src/core/inventory.h
parentcc18095cded14f5e7e3f049e47fca2224134b647 (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.h12
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
*/