diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-06 22:41:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-07 02:07:03 +0300 |
commit | a51da75e329df773a01e963c3a27e72cf487138c (patch) | |
tree | c48d7c682be1104138dd16daa75fd12a3fcae82b /src/net/tmwa/partyhandler.cpp | |
parent | 4f7e38d218848bd34bd86dda75446881dad2bb32 (diff) | |
download | mv-a51da75e329df773a01e963c3a27e72cf487138c.tar.gz mv-a51da75e329df773a01e963c3a27e72cf487138c.tar.bz2 mv-a51da75e329df773a01e963c3a27e72cf487138c.tar.xz mv-a51da75e329df773a01e963c3a27e72cf487138c.zip |
fix code style.
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r-- | src/net/tmwa/partyhandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp index ca11ccdf0..b0ab2dcef 100644 --- a/src/net/tmwa/partyhandler.cpp +++ b/src/net/tmwa/partyhandler.cpp @@ -22,7 +22,6 @@ #include "net/tmwa/partyhandler.h" #include "actormanager.h" -#include "notifications.h" #include "notifymanager.h" #include "party.h" @@ -31,6 +30,8 @@ #include "net/tmwa/messageout.h" #include "net/tmwa/protocol.h" +#include "resources/notifytypes.h" + #include "debug.h" extern Net::PartyHandler *partyHandler; @@ -169,7 +170,7 @@ void PartyHandler::kick(const std::string &name) const const PartyMember *const m = Ea::taParty->getMember(name); if (!m) { - NotifyManager::notify(NotifyManager::PARTY_USER_NOT_IN_PARTY, name); + NotifyManager::notify(NotifyTypes::PARTY_USER_NOT_IN_PARTY, name); return; } |