summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-11 12:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-11 12:16:03 +0300
commit4a337b7a42d0c92bc2ed26b7e206188dc04c569d (patch)
tree97c59c86246afce0710795c6ba545d40004c6810 /src/inventory.cpp
parent067410031057ffc9bdb36b976bc2a658b23acb1b (diff)
downloadmv-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.gz
mv-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.bz2
mv-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.xz
mv-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.zip
Add typed bool type Equipm.
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 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<int>(mSize))