From b81f22b9ca68675d16fa2263b89d7dd0d179ef45 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Feb 2015 23:26:53 +0300 Subject: Add typed bool type Damaged. --- 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 223b8d18f..47c60bf1c 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -111,7 +111,7 @@ int Inventory::addItem(const int id, const uint8_t refine, const uint8_t color, const Identified identified, - const bool damaged, + const Damaged damaged, const bool favorite, const bool equipment, const bool equipped) @@ -129,7 +129,7 @@ void Inventory::setItem(const int index, const uint8_t refine, const unsigned char color, const Identified identified, - const bool damaged, + const Damaged damaged, const bool favorite, const bool equipment, const bool equipped) -- cgit v1.2.3-60-g2f50