diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 16:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 16:30:24 +0300 |
commit | 6c3974a46c659e558b2b5f249b7b000a5b39fe25 (patch) | |
tree | 6ba5ad594cc0691821f879efff413c562f7cc552 /src/net/ea/partyhandler.cpp | |
parent | 4f77307d659c4048c20eacda1d5b13fcce8d60da (diff) | |
download | plus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.gz plus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.bz2 plus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.xz plus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.zip |
Rename actorspritemanager into actormanager.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 6b2462450..73e2569ab 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -21,7 +21,7 @@ #include "net/ea/partyhandler.h" -#include "actorspritemanager.h" +#include "actormanager.h" #include "configuration.h" #include "notifications.h" #include "notifymanager.h" @@ -211,9 +211,9 @@ void PartyHandler::processPartyInvited(Net::MessageIn &msg) const const std::string partyName = msg.readString(24); std::string nick; - if (actorSpriteManager) + if (actorManager) { - const Being *const being = actorSpriteManager->findBeing(id); + const Being *const being = actorManager->findBeing(id); if (being) { if (being->getType() == Being::PLAYER) @@ -352,9 +352,9 @@ void PartyHandler::processPartyLeave(Net::MessageIn &msg) const else { NotifyManager::notify(NotifyManager::PARTY_USER_LEFT, nick); - if (actorSpriteManager) + if (actorManager) { - Being *const b = actorSpriteManager->findBeing(id); + Being *const b = actorManager->findBeing(id); if (b && b->getType() == Being::PLAYER) { b->setParty(nullptr); @@ -382,9 +382,9 @@ void PartyHandler::processPartyUpdateHp(Net::MessageIn &msg) const // The server only sends this when the member is in range, so // lets make sure they get the party hilight. - if (actorSpriteManager && Ea::taParty) + if (actorManager && Ea::taParty) { - if (Being *const b = actorSpriteManager->findBeing(id)) + if (Being *const b = actorManager->findBeing(id)) b->setParty(Ea::taParty); } } |