summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-10 23:26:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-10 23:26:53 +0300
commitb81f22b9ca68675d16fa2263b89d7dd0d179ef45 (patch)
tree7a4554927636a77d5233ceffc1814eee1fdd3578 /src/inventory.cpp
parentf3f7879c48fe8e202c3519cd465225645949167e (diff)
downloadmanaverse-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.gz
manaverse-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.bz2
manaverse-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.xz
manaverse-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.zip
Add typed bool type Damaged.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp4
1 files changed, 2 insertions, 2 deletions
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)