diff options
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. |