diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-04 16:41:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-04 16:41:09 +0300 |
commit | 05a196194b8270c1ae2e63f8ae31f8a492022388 (patch) | |
tree | a00c9c9a009d562db1a95b3f8f77428df0169a21 /src/net/tmwa/skillhandler.cpp | |
parent | 6f06cd42b8e56aaae2be853a31d73d0115a39c2a (diff) | |
download | plus-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.gz plus-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.bz2 plus-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.xz plus-05a196194b8270c1ae2e63f8ae31f8a492022388.zip |
Show unimplimented packet debug message on each unsupported packets parameters.
Diffstat (limited to 'src/net/tmwa/skillhandler.cpp')
-rw-r--r-- | src/net/tmwa/skillhandler.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/net/tmwa/skillhandler.cpp b/src/net/tmwa/skillhandler.cpp index 424a8ad6b..1567d576a 100644 --- a/src/net/tmwa/skillhandler.cpp +++ b/src/net/tmwa/skillhandler.cpp @@ -210,8 +210,7 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) txt = _("Cannot shout!"); break; default: - logger->log("QQQ SMSG_SKILL_FAILED: bskill " - + toString(bskill)); + UNIMPLIMENTEDPACKET; break; } @@ -263,8 +262,7 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) default: // TRANSLATORS: error message txt.append(_("Huh? What's that?")); - logger->log("QQQ SMSG_SKILL_FAILED: reason " - + toString(reason)); + UNIMPLIMENTEDPACKET; break; } } @@ -285,8 +283,7 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) txt = _("Poison had no effect..."); break; default: - logger->log("QQQ SMSG_SKILL_FAILED: skillId " - + toString(skillId)); + UNIMPLIMENTEDPACKET; break; } } |