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/item.cc
parentcc18095cded14f5e7e3f049e47fca2224134b647 (diff)
player can only sell cargo on bases that allow it, trademenu layout updates
Diffstat (limited to 'src/core/item.cc')
-rw-r--r--src/core/item.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/item.cc b/src/core/item.cc
index ca51775..77b0f9c 100644
--- a/src/core/item.cc
+++ b/src/core/item.cc
@@ -25,17 +25,17 @@ Item::~Item()
item_amount = 0;
}
-void Item::set_amount(const int amount)
+void Item::set_amount(const long amount)
{
item_amount = amount;
}
-void Item::inc_amount(const int amount)
+void Item::inc_amount(const long amount)
{
item_amount += amount;
}
-void Item::dec_amount(const int amount)
+void Item::dec_amount(const long amount)
{
item_amount -= amount;
}