summaryrefslogtreecommitdiff
path: root/src/net/tmwa/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-10 23:32:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-10 23:32:22 +0300
commit7d9f6bd3984c423b89a9f564342cde74f378f8c9 (patch)
treeeb6288208d78752b016440556beaea98dfbe0168 /src/net/tmwa/inventoryhandler.cpp
parentb81f22b9ca68675d16fa2263b89d7dd0d179ef45 (diff)
downloadManaVerse-7d9f6bd3984c423b89a9f564342cde74f378f8c9.tar.gz
ManaVerse-7d9f6bd3984c423b89a9f564342cde74f378f8c9.tar.bz2
ManaVerse-7d9f6bd3984c423b89a9f564342cde74f378f8c9.tar.xz
ManaVerse-7d9f6bd3984c423b89a9f564342cde74f378f8c9.zip
Fix case in new strong typed types.
Diffstat (limited to 'src/net/tmwa/inventoryhandler.cpp')
-rw-r--r--src/net/tmwa/inventoryhandler.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp
index 4319b84f2..7c53612eb 100644
--- a/src/net/tmwa/inventoryhandler.cpp
+++ b/src/net/tmwa/inventoryhandler.cpp
@@ -298,8 +298,8 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg)
{
inventory->setItem(index, itemId, itemType, 1, refine,
identified,
- Identified_True,
- Damaged_False,
+ Identified_true,
+ Damaged_false,
false, true, false);
}
else
@@ -307,7 +307,7 @@ void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg)
inventory->setItem(index, itemId, itemType, 1, refine,
1,
fromBool(identified, Identified),
- Damaged_False,
+ Damaged_false,
false, true, false);
}
inventory->setCards(index, cards, 4);
@@ -406,8 +406,8 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
{
inventory->setItem(index, itemId, type, amount, refine,
identified,
- Identified_True,
- Damaged_False,
+ Identified_true,
+ Damaged_false,
false, equipType != 0, false);
}
else
@@ -415,7 +415,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg)
inventory->setItem(index, itemId, type, amount, refine,
1,
fromBool(identified, Identified),
- Damaged_False,
+ Damaged_false,
false, equipType != 0, false);
}
inventory->setCards(index, cards, 4);
@@ -473,8 +473,8 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg)
{
inventory->setItem(index, itemId, itemType, amount,
0, identified,
- Identified_True,
- Damaged_False,
+ Identified_true,
+ Damaged_false,
false, isEquipment, false);
}
else
@@ -482,7 +482,7 @@ void InventoryHandler::processPlayerInventory(Net::MessageIn &msg)
inventory->setItem(index, itemId, itemType, amount,
0, 1,
fromBool(identified, Identified),
- Damaged_False,
+ Damaged_false,
false, isEquipment, false);
}
inventory->setCards(index, cards, 4);
@@ -523,8 +523,8 @@ void InventoryHandler::processPlayerStorage(Net::MessageIn &msg)
{
mInventoryItems.push_back(Ea::InventoryItem(index, itemId,
itemType, cards, amount, 0, identified,
- Identified_True,
- Damaged_False,
+ Identified_true,
+ Damaged_false,
false, false));
}
else
@@ -532,7 +532,7 @@ void InventoryHandler::processPlayerStorage(Net::MessageIn &msg)
mInventoryItems.push_back(Ea::InventoryItem(index, itemId,
itemType, cards, amount, 0, 1,
fromBool(identified, Identified),
- Damaged_False,
+ Damaged_false,
false, false));
}
}
@@ -602,8 +602,8 @@ void InventoryHandler::processPlayerStorageEquip(Net::MessageIn &msg)
{
mInventoryItems.push_back(Ea::InventoryItem(index, itemId,
itemType, cards, amount, refine, identified,
- Identified_True,
- Damaged_False,
+ Identified_true,
+ Damaged_false,
false, false));
}
else
@@ -611,7 +611,7 @@ void InventoryHandler::processPlayerStorageEquip(Net::MessageIn &msg)
mInventoryItems.push_back(Ea::InventoryItem(index, itemId,
itemType, cards, amount, refine, 1,
fromBool(identified, Identified),
- Damaged_False,
+ Damaged_false,
false, false));
}
}
@@ -645,8 +645,8 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg)
{
mStorage->setItem(index, itemId, 0, amount,
refine, identified,
- Identified_True,
- Damaged_False,
+ Identified_true,
+ Damaged_false,
false, false, false);
}
else
@@ -654,7 +654,7 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg)
mStorage->setItem(index, itemId, 0, amount,
refine, 1,
fromBool(identified, Identified),
- Damaged_False,
+ Damaged_false,
false, false, false);
}
mStorage->setCards(index, cards, 4);