From ae0ade61326aa52df63aeb7742133160b8c78047 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Feb 2015 16:23:03 +0300 Subject: Add typed bool type Equipped. --- src/net/eathena/inventoryhandler.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/net/eathena') 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") -- cgit v1.2.3-70-g09d2