summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-14 23:43:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-14 23:43:54 +0300
commit15a79eee1b3baa91953daf33dc021a1e7c147365 (patch)
tree21fc078237a8c635308c1e84e0bba869918ba3d5 /src/inventory.h
parente1841e31c606f1d97ea54c3f00f3380db814f3d2 (diff)
downloadplus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.gz
plus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.bz2
plus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.xz
plus-15a79eee1b3baa91953daf33dc021a1e7c147365.zip
Change refine type to uint8_t.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inventory.h b/src/inventory.h
index 86bdb080a..793c21286 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -87,14 +87,14 @@ class Inventory final
/**
* Adds a new item in a free slot.
*/
- void addItem(const int id, const int quantity, const int refine,
+ void addItem(const int id, const int quantity, const uint8_t refine,
const unsigned char color, const bool equipment = false);
/**
* Sets the item at the given position.
*/
void setItem(const int index, const int id, const int quantity,
- const int refine, const unsigned char color,
+ const uint8_t refine, const unsigned char color,
const bool equipment = false);
/**