From 834f1f74a3e16c3fa8ccc2593d049a0c3201b659 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Mar 2013 16:38:40 +0300 Subject: Add new notifications to other classes. --- src/net/ea/skillhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/skillhandler.cpp b/src/net/ea/skillhandler.cpp index 51dc85461..35d8d61dc 100644 --- a/src/net/ea/skillhandler.cpp +++ b/src/net/ea/skillhandler.cpp @@ -24,6 +24,7 @@ #include "logger.h" #include "localplayer.h" +#include "notifymanager.h" #include "playerinfo.h" #include "gui/skilldialog.h" @@ -238,7 +239,6 @@ void SkillHandler::processSkillFailed(Net::MessageIn &msg) } } - if (localChatTab) - localChatTab->chatLog(txt); + NotifyManager::notify(NotifyManager::SKILL_FAIL_MESSAGE, txt); } } // namespace Ea -- cgit v1.2.3-70-g09d2