diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:17 +0300 |
commit | 3f9d0c023f3d84de0c68dbf9f7c29aa1b0abb9c9 (patch) | |
tree | 93589fc3f913324254ad543481691565e0baf67e /src/net/ea/inventoryhandler.cpp | |
parent | 8daa939a45794c26a33e109c13c4d6f58a46e00e (diff) | |
download | manaverse-3f9d0c023f3d84de0c68dbf9f7c29aa1b0abb9c9.tar.gz manaverse-3f9d0c023f3d84de0c68dbf9f7c29aa1b0abb9c9.tar.bz2 manaverse-3f9d0c023f3d84de0c68dbf9f7c29aa1b0abb9c9.tar.xz manaverse-3f9d0c023f3d84de0c68dbf9f7c29aa1b0abb9c9.zip |
Fix code style in net.
Diffstat (limited to 'src/net/ea/inventoryhandler.cpp')
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 1daafc2d5..eacb98711 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -150,7 +150,7 @@ int InventoryHandler::convertFromServerSlot(const int serverSlot) const if (serverSlot < 0 || serverSlot > 13) return 0; - return EQUIP_CONVERT[serverSlot]; + return static_cast<int>(EQUIP_CONVERT[serverSlot]); } int InventoryHandler::getSlot(const int eAthenaSlot) @@ -168,7 +168,7 @@ int InventoryHandler::getSlot(const int eAthenaSlot) mask <<= 1; position++; } - return EQUIP_POINTS[position]; + return static_cast<int>(EQUIP_POINTS[position]); } void InventoryHandler::processPlayerInventory(Net::MessageIn &msg, |