diff options
Diffstat (limited to 'src/core/item.cc')
-rw-r--r-- | src/core/item.cc | 6 |
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; } |