diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-10 23:26:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-10 23:26:53 +0300 |
commit | b81f22b9ca68675d16fa2263b89d7dd0d179ef45 (patch) | |
tree | 7a4554927636a77d5233ceffc1814eee1fdd3578 /src/inventory.cpp | |
parent | f3f7879c48fe8e202c3519cd465225645949167e (diff) | |
download | mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.gz mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.bz2 mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.tar.xz mv-b81f22b9ca68675d16fa2263b89d7dd0d179ef45.zip |
Add typed bool type Damaged.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 4 |
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) |