diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-15 02:57:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-15 02:57:01 +0300 |
commit | e45a51342495eccdb8280f1f1a7963c7b78f4772 (patch) | |
tree | afeeefe150f92e548c92e7bcf91f9ad15b29e0ba /src/net | |
parent | 0d8acc720803c17d4d2316c07203b65ddbb9ab25 (diff) | |
download | plus-e45a51342495eccdb8280f1f1a7963c7b78f4772.tar.gz plus-e45a51342495eccdb8280f1f1a7963c7b78f4772.tar.bz2 plus-e45a51342495eccdb8280f1f1a7963c7b78f4772.tar.xz plus-e45a51342495eccdb8280f1f1a7963c7b78f4772.zip |
Add support for unknown skill error (hercules).release2016-03-15
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index 8053dce54..8ec41c42f 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -52,6 +52,7 @@ #include "debug.h" +static const unsigned int RFAIL = 10; static const unsigned int RFAIL_SUMMON = 19; static const unsigned int RFAIL_NEED_ITEM = 71; static const unsigned int RFAIL_NEED_EQUIPMENT = 72; @@ -337,6 +338,12 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) } break; } + case RFAIL: + { + // TRANSLATORS: error message + txt.append(_("Skill failed!")); + break; + } default: UNIMPLIMENTEDPACKETFIELD(reason); |