summaryrefslogtreecommitdiffstats
path: root/src/game-server/inventory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/inventory.hpp')
-rw-r--r--src/game-server/inventory.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/inventory.hpp b/src/game-server/inventory.hpp
index 1f2611e..ff01087 100644
--- a/src/game-server/inventory.hpp
+++ b/src/game-server/inventory.hpp
@@ -144,6 +144,12 @@ class Inventory
*/
int getItem(int slot) const;
+ /**
+ * Changes amount of money.
+ * @return false if not enough money.
+ */
+ bool changeMoney(int);
+
private:
/**