summaryrefslogtreecommitdiff
path: root/src/being
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/being
parente1841e31c606f1d97ea54c3f00f3380db814f3d2 (diff)
downloadManaVerse-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.gz
ManaVerse-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.bz2
ManaVerse-15a79eee1b3baa91953daf33dc021a1e7c147365.tar.xz
ManaVerse-15a79eee1b3baa91953daf33dc021a1e7c147365.zip
Change refine type to uint8_t.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/playerinfo.cpp2
-rw-r--r--src/being/playerinfo.h2
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.