From 15a79eee1b3baa91953daf33dc021a1e7c147365 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Jul 2014 23:43:54 +0300 Subject: Change refine type to uint8_t. --- src/being/playerinfo.cpp | 2 +- src/being/playerinfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being') 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. -- cgit v1.2.3-60-g2f50