summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 16:38:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 16:38:40 +0300
commit834f1f74a3e16c3fa8ccc2593d049a0c3201b659 (patch)
tree67df0ab79e5a8dc0131d623e7e688f8ac5e3d0a5 /src/net/ea
parent25da12e98285c44279d24ee77a08bd5f563d8ad0 (diff)
downloadmv-834f1f74a3e16c3fa8ccc2593d049a0c3201b659.tar.gz
mv-834f1f74a3e16c3fa8ccc2593d049a0c3201b659.tar.bz2
mv-834f1f74a3e16c3fa8ccc2593d049a0c3201b659.tar.xz
mv-834f1f74a3e16c3fa8ccc2593d049a0c3201b659.zip
Add new notifications to other classes.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/skillhandler.cpp4
1 files changed, 2 insertions, 2 deletions
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