summaryrefslogtreecommitdiff
path: root/src/net/manaserv/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
commit5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch)
tree5316f688c7f617776b7e70c9f64932fe7596cadb /src/net/manaserv/playerhandler.cpp
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadmanaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
manaverse-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/net/manaserv/playerhandler.cpp')
-rw-r--r--src/net/manaserv/playerhandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/manaserv/playerhandler.cpp b/src/net/manaserv/playerhandler.cpp
index 54d6dc7de..5ac058b7e 100644
--- a/src/net/manaserv/playerhandler.cpp
+++ b/src/net/manaserv/playerhandler.cpp
@@ -60,7 +60,7 @@ extern Net::PlayerHandler *playerHandler;
namespace ManaServ
{
-void RespawnRequestListener::action(const gcn::ActionEvent &event _UNUSED_)
+void RespawnRequestListener::action(const gcn::ActionEvent &event A_UNUSED)
{
Net::getPlayerHandler()->respawn();
@@ -328,7 +328,7 @@ void PlayerHandler::handleMapChangeMessage(Net::MessageIn &msg)
viewport->scrollBy(scrollOffsetX, scrollOffsetY);
}
-void PlayerHandler::attack(int id, bool keep _UNUSED_)
+void PlayerHandler::attack(int id, bool keep A_UNUSED)
{
MessageOut msg(PGMSG_ATTACK);
msg.writeInt16(id);
@@ -340,7 +340,7 @@ void PlayerHandler::stopAttack()
}
-void PlayerHandler::emote(Uint8 emoteId _UNUSED_)
+void PlayerHandler::emote(Uint8 emoteId A_UNUSED)
{
// TODO
}
@@ -359,7 +359,7 @@ void PlayerHandler::decreaseAttribute(int attr)
gameServerConnection->send(msg);
}
-void PlayerHandler::increaseSkill(unsigned short skillId _UNUSED_)
+void PlayerHandler::increaseSkill(unsigned short skillId A_UNUSED)
{
// Not used atm
}
@@ -406,13 +406,13 @@ void PlayerHandler::respawn()
gameServerConnection->send(msg);
}
-void PlayerHandler::ignorePlayer(const std::string &player _UNUSED_,
- bool ignore _UNUSED_)
+void PlayerHandler::ignorePlayer(const std::string &player A_UNUSED,
+ bool ignore A_UNUSED)
{
// TODO
}
-void PlayerHandler::ignoreAll(bool ignore _UNUSED_)
+void PlayerHandler::ignoreAll(bool ignore A_UNUSED)
{
// TODO
}