summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjak1 <mike.wollmann@gmail.com>2020-05-21 22:54:44 +0200
committerJesusaves <cpntb1@ymail.com>2021-04-13 23:34:48 -0300
commit5f83fb256a3f00204cabed02094432b6fe5b3b8d (patch)
tree25e388f3cdc93f21342bdc8841e1a23bdd171e87
parent084ac146addaeb081e7b66b7cba562f5ddca644a (diff)
downloadmanaverse-5f83fb256a3f00204cabed02094432b6fe5b3b8d.tar.gz
manaverse-5f83fb256a3f00204cabed02094432b6fe5b3b8d.tar.bz2
manaverse-5f83fb256a3f00204cabed02094432b6fe5b3b8d.tar.xz
manaverse-5f83fb256a3f00204cabed02094432b6fe5b3b8d.zip
moved all skillbased errors to debugChatTab
-rw-r--r--src/net/eathena/skillrecv.cpp10
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)