From ae0ade61326aa52df63aeb7742133160b8c78047 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Feb 2015 16:23:03 +0300 Subject: Add typed bool type Equipped. --- src/inventory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inventory.cpp') diff --git a/src/inventory.cpp b/src/inventory.cpp index dc5e59717..79816fae5 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -114,7 +114,7 @@ int Inventory::addItem(const int id, const Damaged damaged, const Favorite favorite, const Equipm equipment, - const bool equipped) + const Equipped equipped) { const int slot = getFreeSlot(); setItem(slot, id, type, quantity, refine, color, @@ -132,7 +132,7 @@ void Inventory::setItem(const int index, const Damaged damaged, const Favorite favorite, const Equipm equipment, - const bool equipped) + const Equipped equipped) { if (index < 0 || index >= static_cast(mSize)) { -- cgit v1.2.3-70-g09d2