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/guildhandler.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/guildhandler.cpp')
-rw-r--r-- | src/net/ea/guildhandler.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp index 7e46438d2..10663db57 100644 --- a/src/net/ea/guildhandler.cpp +++ b/src/net/ea/guildhandler.cpp @@ -21,7 +21,7 @@ #include "net/ea/guildhandler.h" -#include "actorspritemanager.h" +#include "actormanager.h" #include "configuration.h" #include "notifications.h" #include "notifymanager.h" @@ -266,9 +266,9 @@ void GuildHandler::processGuildMemberList(Net::MessageIn &msg) const m->setExp(exp); m->setPos(pos); m->setRace(race); - if (actorSpriteManager) + if (actorManager) { - Being *const being = actorSpriteManager->findBeingByName( + Being *const being = actorManager->findBeingByName( name, Being::PLAYER); if (being) { @@ -286,10 +286,10 @@ void GuildHandler::processGuildMemberList(Net::MessageIn &msg) const } } taGuild->sort(); - if (actorSpriteManager) + if (actorManager) { - actorSpriteManager->updatePlayerGuild(); - actorSpriteManager->updatePlayerColors(); + actorManager->updatePlayerGuild(); + actorManager->updatePlayerColors(); } if (socialWindow) socialWindow->updateGuildCounter(onlineNum, totalNum); @@ -463,15 +463,15 @@ void GuildHandler::processGuildLeave(Net::MessageIn &msg) const if (socialWindow && taGuild) socialWindow->removeTab(taGuild); - if (actorSpriteManager) - actorSpriteManager->updatePlayerColors(); + if (actorManager) + actorManager->updatePlayerColors(); } else { NotifyManager::notify(NotifyManager::GUILD_USER_LEFT, nick); - if (actorSpriteManager) + if (actorManager) { - Being *const b = actorSpriteManager->findBeingByName( + Being *const b = actorManager->findBeingByName( nick, Being::PLAYER); if (b) @@ -507,15 +507,15 @@ void GuildHandler::processGuildExpulsion(Net::MessageIn &msg) const if (socialWindow && taGuild) socialWindow->removeTab(taGuild); - if (actorSpriteManager) - actorSpriteManager->updatePlayerColors(); + if (actorManager) + actorManager->updatePlayerColors(); } else { NotifyManager::notify(NotifyManager::GUILD_USER_KICKED, nick); - if (actorSpriteManager) + if (actorManager) { - Being *const b = actorSpriteManager->findBeingByName( + Being *const b = actorManager->findBeingByName( nick, Being::PLAYER); if (b) |