diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index 3595d0d90..0c30d023b 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -33,6 +33,8 @@ #include "gui/widgets/createwidget.h" +#include "gui/widgets/tabs/chat/chattab.h" + #include "gui/windows/skilldialog.h" #include "gui/windows/textselectdialog.h" @@ -421,8 +423,12 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) UNIMPLEMENTEDPACKETFIELD(reason); break; } - - NotifyManager::notify(NotifyTypes::SKILL_FAIL_MESSAGE, txt); + if (debugChatTab != nullptr) + debugChatTab->chatLog("SKILL: " + + txt, + ChatMsgType::BY_SERVER, + IgnoreRecord_false, + TryRemoveColors_true); } void SkillRecv::processSkillWarpPoint(Net::MessageIn &msg) |