diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-11 16:23:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-11 16:23:03 +0300 |
commit | ae0ade61326aa52df63aeb7742133160b8c78047 (patch) | |
tree | b04c09807058b593949fe634098e73474a58589d /src/net/eathena/inventoryhandler.cpp | |
parent | 4a337b7a42d0c92bc2ed26b7e206188dc04c569d (diff) | |
download | mv-ae0ade61326aa52df63aeb7742133160b8c78047.tar.gz mv-ae0ade61326aa52df63aeb7742133160b8c78047.tar.bz2 mv-ae0ade61326aa52df63aeb7742133160b8c78047.tar.xz mv-ae0ade61326aa52df63aeb7742133160b8c78047.zip |
Add typed bool type Equipped.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 12 |
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") |