summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
commit566ae30ff94caf6c92fc7d64f021b567933f8a60 (patch)
treeeae43b8899444f99a97fdd00bc5df8a117c316e9 /src/net/ea
parent247418a3ec0b50479c7bac80322202b01527ae61 (diff)
downloadplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.gz
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.bz2
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.xz
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.zip
fix code style.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/npchandler.cpp6
-rw-r--r--src/net/ea/tradehandler.cpp3
2 files changed, 5 insertions, 4 deletions
diff --git a/src/net/ea/npchandler.cpp b/src/net/ea/npchandler.cpp
index ef43acd25..fedc7c744 100644
--- a/src/net/ea/npchandler.cpp
+++ b/src/net/ea/npchandler.cpp
@@ -82,7 +82,7 @@ void NpcHandler::processNpcMessage(Net::MessageIn &msg)
mDialog->addText(message);
}
-void NpcHandler::processNpcClose(Net::MessageIn &msg A_UNUSED)
+void NpcHandler::processNpcClose(Net::MessageIn &msg)
{
// Show the close button
getNpc(msg);
@@ -91,7 +91,7 @@ void NpcHandler::processNpcClose(Net::MessageIn &msg A_UNUSED)
mDialog->showCloseButton();
}
-void NpcHandler::processNpcNext(Net::MessageIn &msg A_UNUSED)
+void NpcHandler::processNpcNext(Net::MessageIn &msg)
{
// Show the next button
getNpc(msg);
@@ -100,7 +100,7 @@ void NpcHandler::processNpcNext(Net::MessageIn &msg A_UNUSED)
mDialog->showNextButton();
}
-void NpcHandler::processNpcIntInput(Net::MessageIn &msg A_UNUSED)
+void NpcHandler::processNpcIntInput(Net::MessageIn &msg)
{
// Request for an integer
getNpc(msg);
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index d22a602a6..fbb7a5629 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -209,7 +209,8 @@ void TradeHandler::processTradeComplete(Net::MessageIn &msg A_UNUSED)
PlayerInfo::setTrading(false);
}
-void TradeHandler::processTradeRequestContinue(const std::string &partner) const
+void TradeHandler::processTradeRequestContinue(const std::string &partner)
+ const
{
if (player_relations.hasPermission(partner,
PlayerRelation::TRADE))