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/being | |
parent | e1841e31c606f1d97ea54c3f00f3380db814f3d2 (diff) | |
download | manaplus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.gz manaplus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.bz2 manaplus-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.xz manaplus-15a79eee1b3baa91953daf33dc021a1e7c147365.zip |
Change refine type to uint8_t.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/playerinfo.cpp | 2 | ||||
-rw-r--r-- | src/being/playerinfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 5632c8d38..b84fb72a9 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -200,7 +200,7 @@ void clearInventory() } void setInventoryItem(const int index, const int id, - const int amount, const int refine) + const int amount, const uint8_t refine) { bool equipment = false; const ItemType::Type itemType = ItemDB::get(id).getType(); diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index 926173e21..abdc8bc69 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -152,7 +152,7 @@ namespace PlayerInfo * Changes the inventory item at the given slot. */ void setInventoryItem(const int index, const int id, - const int amount, const int refine); + const int amount, const uint8_t refine); /** * Returns the player's equipment. |