summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-21 21:29:51 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-21 21:29:51 +0300
commitf3a89322713a379678abc420d75230a9b17aa18f (patch)
tree1fa4318ba77eeef61272eb6cd982c7bf37b82800 /src/net
parent552867509d2a29d806d2ba416b24fbf7ac711803 (diff)
downloadmv-f3a89322713a379678abc420d75230a9b17aa18f.tar.gz
mv-f3a89322713a379678abc420d75230a9b17aa18f.tar.bz2
mv-f3a89322713a379678abc420d75230a9b17aa18f.tar.xz
mv-f3a89322713a379678abc420d75230a9b17aa18f.zip
fix code style.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/guildhandler.cpp2
-rw-r--r--src/net/tmwa/questhandler.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 59756e2c9..6761105e1 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -201,7 +201,7 @@ void GuildHandler::create(const std::string &name) const
}
void GuildHandler::invite(const int guildId A_UNUSED,
- const std::string &name A_UNUSED) const
+ const std::string &name) const
{
if (!actorSpriteManager)
return;
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp
index bb36ad820..378f53f97 100644
--- a/src/net/tmwa/questhandler.cpp
+++ b/src/net/tmwa/questhandler.cpp
@@ -67,7 +67,7 @@ void QuestHandler::handleMessage(Net::MessageIn &msg)
BLOCK_END("QuestHandler::handleMessage")
}
-void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) const
+void QuestHandler::processSetQuestVar(Net::MessageIn &msg) const
{
const int var = msg.readInt16(); // variable
const int val = msg.readInt32(); // value
@@ -83,7 +83,7 @@ void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) const
}
}
-void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED) const
+void QuestHandler::processPlayerQuests(Net::MessageIn &msg) const
{
const int count = (msg.readInt16() - 4) / 6;
for (int f = 0; f < count; f ++)