diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/skillhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 1 |
3 files changed, 2 insertions, 4 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 diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index ba9551dc1..d0c763be4 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -23,7 +23,6 @@ #include "net/eathena/adminhandler.h" #include "actorspritemanager.h" -#include "depricatedevent.h" #include "game.h" #include "notifymanager.h" #include "playerrelations.h" diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index 6f356c871..7e5e582c0 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -23,7 +23,6 @@ #include "net/tmwa/adminhandler.h" #include "actorspritemanager.h" -#include "depricatedevent.h" #include "game.h" #include "notifymanager.h" #include "playerrelations.h" |