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/gui/windows/whoisonline.cpp | |
parent | 4f77307d659c4048c20eacda1d5b13fcce8d60da (diff) | |
download | manaplus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.gz manaplus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.bz2 manaplus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.xz manaplus-6c3974a46c659e558b2b5f249b7b000a5b39fe25.zip |
Rename actorspritemanager into actormanager.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index e97ae3095..c4f096c72 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -34,7 +34,7 @@ #include "gui/widgets/browserbox.h" #include "gui/widgets/scrollarea.h" -#include "actorspritemanager.h" +#include "actormanager.h" #include "client.h" #include "configuration.h" #include "main.h" @@ -183,10 +183,10 @@ void WhoIsOnline::handleLink(const std::string& link, gcn::MouseEvent *event) if (viewport) { - if (actorSpriteManager) + if (actorManager) { const std::string text = decodeLinkText(link); - Being *const being = actorSpriteManager->findBeingByName( + Being *const being = actorManager->findBeingByName( text, Being::PLAYER); if (being && viewport) @@ -408,9 +408,9 @@ void WhoIsOnline::loadWebList() if (!lineStr.empty()) level = atoi(lineStr.c_str()); - if (actorSpriteManager) + if (actorManager) { - Being *const being = actorSpriteManager->findBeingByName( + Being *const being = actorManager->findBeingByName( nick, Being::PLAYER); if (being) { @@ -762,7 +762,7 @@ void WhoIsOnline::setNeutralColor(OnlinePlayer *const player) if (!player) return; - if (actorSpriteManager && player_node) + if (actorManager && player_node) { const std::string &nick = player->getNick(); if (nick == player_node->getName()) @@ -783,7 +783,7 @@ void WhoIsOnline::setNeutralColor(OnlinePlayer *const player) } } - const Being *const being = actorSpriteManager->findBeingByName(nick); + const Being *const being = actorManager->findBeingByName(nick); if (being) { const Guild *const guild2 = player_node->getGuild(); @@ -827,9 +827,9 @@ void OnlinePlayer::setText(std::string color) { mText.clear(); - if (mStatus != 255 && actorSpriteManager) + if (mStatus != 255 && actorManager) { - Being *const being = actorSpriteManager->findBeingByName( + Being *const being = actorManager->findBeingByName( mNick, Being::PLAYER); if (being) { |