summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/buyingstorehandler.cpp8
-rw-r--r--src/net/eathena/vendinghandler.cpp1
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);