diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-09 11:44:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-09 11:44:37 +0300 |
commit | 49540a3cac67413e8639ba371782e3635ece74df (patch) | |
tree | 1787719bfa551c151be5e72de873a638ad46ab71 /src/net/eathena | |
parent | 5427c348b135df91731e60b76015bc4051933e55 (diff) | |
download | mv-49540a3cac67413e8639ba371782e3635ece74df.tar.gz mv-49540a3cac67413e8639ba371782e3635ece74df.tar.bz2 mv-49540a3cac67413e8639ba371782e3635ece74df.tar.xz mv-49540a3cac67413e8639ba371782e3635ece74df.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/buyingstorehandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/vendinghandler.cpp | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/net/eathena/buyingstorehandler.cpp b/src/net/eathena/buyingstorehandler.cpp index e7730c1ca..672c68da3 100644 --- a/src/net/eathena/buyingstorehandler.cpp +++ b/src/net/eathena/buyingstorehandler.cpp @@ -28,7 +28,7 @@ #include "net/ea/eaprotocol.h" #include "net/eathena/messageout.h" -#include "net/eathena/protocol.h" +#include "net/eathena/protocol.h" #include "resources/notifytypes.h" @@ -194,7 +194,8 @@ void BuyingStoreHandler::processBuyingStoreSellFailed(Net::MessageIn &msg) } } -void BuyingStoreHandler::processBuyingStoreSellerSellFailed(Net::MessageIn &msg) +void BuyingStoreHandler::processBuyingStoreSellerSellFailed(Net::MessageIn + &msg) { const int16_t result = msg.readInt16("result"); msg.readInt16("item id"); @@ -213,7 +214,8 @@ void BuyingStoreHandler::processBuyingStoreSellerSellFailed(Net::MessageIn &msg) NotifyTypes::BUYING_STORE_SELLER_SELL_FAILED_BALANCE); break; default: - NotifyManager::notify(NotifyTypes::BUYING_STORE_SELLER_SELL_FAILED); + NotifyManager::notify( + NotifyTypes::BUYING_STORE_SELLER_SELL_FAILED); break; } } diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 9e3e00117..f63a35176 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -132,7 +132,6 @@ void VendingHandler::processHideBoard(Net::MessageIn &msg) void VendingHandler::processItemsList(Net::MessageIn &msg) { - const int count = (msg.readInt16("len") - 12) / 22; const int id = msg.readInt32("id"); Being *const being = actorManager->findBeing(id); |