diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-14 23:43:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-14 23:43:54 +0300 |
commit | 15a79eee1b3baa91953daf33dc021a1e7c147365 (patch) | |
tree | 21fc078237a8c635308c1e84e0bba869918ba3d5 /src/inventory.h | |
parent | e1841e31c606f1d97ea54c3f00f3380db814f3d2 (diff) | |
download | plus-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.h | 4 |
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); /** |