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/tmwa | |
parent | 4a337b7a42d0c92bc2ed26b7e206188dc04c569d (diff) | |
download | manaplus-ae0ade61326aa52df63aeb7742133160b8c78047.tar.gz manaplus-ae0ade61326aa52df63aeb7742133160b8c78047.tar.bz2 manaplus-ae0ade61326aa52df63aeb7742133160b8c78047.tar.xz manaplus-ae0ade61326aa52df63aeb7742133160b8c78047.zip |
Add typed bool type Equipped.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index 0d0611122..ea8a912b7 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -302,7 +302,7 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg) Damaged_false, Favorite_false, Equipm_true, - false); + Equipped_false); } else { @@ -312,7 +312,7 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg) Damaged_false, Favorite_false, Equipm_true, - false); + Equipped_false); } inventory->setCards(index, cards, 4); } @@ -414,7 +414,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) Damaged_false, Favorite_false, fromBool(equipType, Equipm), - false); + Equipped_false); } else { @@ -424,7 +424,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) Damaged_false, Favorite_false, fromBool(equipType, Equipm), - false); + Equipped_false); } inventory->setCards(index, cards, 4); } @@ -485,7 +485,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg) Damaged_false, Favorite_false, fromBool(isEquipment, Equipm), - false); + Equipped_false); } else { @@ -495,7 +495,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg) Damaged_false, Favorite_false, fromBool(isEquipment, Equipm), - false); + Equipped_false); } inventory->setCards(index, cards, 4); } @@ -665,7 +665,7 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg) Damaged_false, Favorite_false, Equipm_false, - false); + Equipped_false); } else { @@ -675,7 +675,7 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg) Damaged_false, Favorite_false, Equipm_false, - false); + Equipped_false); } mStorage->setCards(index, cards, 4); } |