From 49540a3cac67413e8639ba371782e3635ece74df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 9 Feb 2015 11:44:37 +0300 Subject: Fix code style. --- src/net/eathena/buyingstorehandler.cpp | 8 +++++--- src/net/eathena/vendinghandler.cpp | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/net') 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); -- cgit v1.2.3-70-g09d2