summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-11 16:23:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-11 16:23:03 +0300
commitae0ade61326aa52df63aeb7742133160b8c78047 (patch)
treeb04c09807058b593949fe634098e73474a58589d /src/net/eathena/inventoryhandler.cpp
parent4a337b7a42d0c92bc2ed26b7e206188dc04c569d (diff)
downloadplus-ae0ade61326aa52df63aeb7742133160b8c78047.tar.gz
plus-ae0ade61326aa52df63aeb7742133160b8c78047.tar.bz2
plus-ae0ade61326aa52df63aeb7742133160b8c78047.tar.xz
plus-ae0ade61326aa52df63aeb7742133160b8c78047.zip
Add typed bool type Equipped.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 835b341a8..9f22b34ff 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -387,7 +387,7 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg)
fromBool(flags.bits.isDamaged, Damaged),
fromBool(flags.bits.isFavorite, Favorite),
Equipm_true,
- false);
+ Equipped_false);
inventory->setCards(index, cards, 4);
}
@@ -488,7 +488,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
fromBool(damaged, Damaged),
Favorite_false,
fromBool(equipType, Equipm),
- false);
+ Equipped_false);
inventory->setCards(index, cards, 4);
}
ArrowsListener::distributeEvent();
@@ -537,7 +537,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg)
fromBool(flags.bits.isDamaged, Damaged),
fromBool(flags.bits.isFavorite, Favorite),
Equipm_false,
- false);
+ Equipped_false);
inventory->setCards(index, cards, 4);
}
}
@@ -709,7 +709,7 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg)
Damaged_false,
Favorite_false,
Equipm_false,
- false);
+ Equipped_false);
mStorage->setCards(index, cards, 4);
}
}
@@ -813,7 +813,7 @@ void InventoryHandler::processCartInfo(Net::MessageIn &msg)
(*it).damaged,
(*it).favorite,
(*it).equip,
- false);
+ Equipped_false);
}
mCartItems.clear();
}
@@ -853,7 +853,7 @@ void InventoryHandler::processPlayerCartAdd(Net::MessageIn &msg)
Damaged_false,
Favorite_false,
Equipm_false,
- false);
+ Equipped_false);
inventory->setCards(index, cards, 4);
}
BLOCK_END("InventoryHandler::processPlayerCartAdd")