summaryrefslogtreecommitdiff
path: root/src/net/manaserv/npchandler.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/npchandler.cpp
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/net/manaserv/npchandler.cpp')
-rw-r--r--src/net/manaserv/npchandler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/manaserv/npchandler.cpp b/src/net/manaserv/npchandler.cpp
index 2c389bc7d..efd2ab2bc 100644
--- a/src/net/manaserv/npchandler.cpp
+++ b/src/net/manaserv/npchandler.cpp
@@ -185,7 +185,7 @@ void NpcHandler::stringInput(int npcId, const std::string &value)
gameServerConnection->send(msg);
}
-void NpcHandler::sendLetter(int npcId _UNUSED_, const std::string &recipient,
+void NpcHandler::sendLetter(int npcId A_UNUSED, const std::string &recipient,
const std::string &text)
{
MessageOut msg(PGMSG_NPC_POST_SEND);
@@ -194,23 +194,23 @@ void NpcHandler::sendLetter(int npcId _UNUSED_, const std::string &recipient,
gameServerConnection->send(msg);
}
-void NpcHandler::startShopping(int beingId _UNUSED_)
+void NpcHandler::startShopping(int beingId A_UNUSED)
{
// TODO
}
-void NpcHandler::buy(int beingId _UNUSED_)
+void NpcHandler::buy(int beingId A_UNUSED)
{
// TODO
}
-void NpcHandler::sell(int beingId _UNUSED_)
+void NpcHandler::sell(int beingId A_UNUSED)
{
// TODO
}
-void NpcHandler::buyItem(int beingId _UNUSED_, int itemId,
- unsigned char color _UNUSED_, int amount)
+void NpcHandler::buyItem(int beingId A_UNUSED, int itemId,
+ unsigned char color A_UNUSED, int amount)
{
MessageOut msg(PGMSG_NPC_BUYSELL);
msg.writeInt16(itemId);
@@ -218,7 +218,7 @@ void NpcHandler::buyItem(int beingId _UNUSED_, int itemId,
gameServerConnection->send(msg);
}
-void NpcHandler::sellItem(int beingId _UNUSED_, int itemId, int amount)
+void NpcHandler::sellItem(int beingId A_UNUSED, int itemId, int amount)
{
MessageOut msg(PGMSG_NPC_BUYSELL);
msg.writeInt16(itemId);
@@ -226,7 +226,7 @@ void NpcHandler::sellItem(int beingId _UNUSED_, int itemId, int amount)
gameServerConnection->send(msg);
}
-void NpcHandler::endShopping(int beingId _UNUSED_)
+void NpcHandler::endShopping(int beingId A_UNUSED)
{
// TODO
}