From 4a337b7a42d0c92bc2ed26b7e206188dc04c569d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Feb 2015 12:16:03 +0300 Subject: Add typed bool type Equipm. --- 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 20731ad10..dc5e59717 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -113,7 +113,7 @@ int Inventory::addItem(const int id, const Identified identified, const Damaged damaged, const Favorite favorite, - const bool equipment, + const Equipm equipment, const bool equipped) { const int slot = getFreeSlot(); @@ -131,7 +131,7 @@ void Inventory::setItem(const int index, const Identified identified, const Damaged damaged, const Favorite favorite, - const bool equipment, + const Equipm equipment, const bool equipped) { if (index < 0 || index >= static_cast(mSize)) -- cgit v1.2.3-60-g2f50