summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/skillrecv.cpp')
-rw-r--r--src/net/eathena/skillrecv.cpp7
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);