diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-07 22:52:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-07 22:52:35 +0300 |
commit | 5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch) | |
tree | 5316f688c7f617776b7e70c9f64932fe7596cadb /src/net/tmwa/npchandler.cpp | |
parent | ed950471f7ae02c4618fa995c305832f12dc9cd7 (diff) | |
download | plus-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/tmwa/npchandler.cpp')
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index eb347db44..69b4b880a 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -197,14 +197,14 @@ void NpcHandler::stringInput(int npcId, const std::string &value) outMsg.writeInt8(0); // Prevent problems with string reading } -void NpcHandler::sendLetter(int npcId _UNUSED_, - const std::string &recipient _UNUSED_, - const std::string &text _UNUSED_) +void NpcHandler::sendLetter(int npcId A_UNUSED, + const std::string &recipient A_UNUSED, + const std::string &text A_UNUSED) { // TODO } -void NpcHandler::startShopping(int beingId _UNUSED_) +void NpcHandler::startShopping(int beingId A_UNUSED) { // TODO } @@ -223,7 +223,7 @@ void NpcHandler::sell(int beingId) outMsg.writeInt8(1); // Sell } -void NpcHandler::buyItem(int beingId _UNUSED_, int itemId, +void NpcHandler::buyItem(int beingId A_UNUSED, int itemId, unsigned char color, int amount) { MessageOut outMsg(CMSG_NPC_BUY_REQUEST); @@ -243,7 +243,7 @@ void NpcHandler::buyItem(int beingId _UNUSED_, int itemId, } } -void NpcHandler::sellItem(int beingId _UNUSED_, int itemId, int amount) +void NpcHandler::sellItem(int beingId A_UNUSED, int itemId, int amount) { MessageOut outMsg(CMSG_NPC_SELL_REQUEST); outMsg.writeInt16(8); // One item (length of packet) @@ -251,7 +251,7 @@ void NpcHandler::sellItem(int beingId _UNUSED_, int itemId, int amount) outMsg.writeInt16(static_cast<Sint16>(amount)); } -void NpcHandler::endShopping(int beingId _UNUSED_) +void NpcHandler::endShopping(int beingId A_UNUSED) { // TODO } |