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/chatwindow.cpp | |
parent | 4f77307d659c4048c20eacda1d5b13fcce8d60da (diff) | |
download | ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.gz ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.bz2 ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.tar.xz ManaVerse-6c3974a46c659e558b2b5f249b7b000a5b39fe25.zip |
Rename actorspritemanager into actormanager.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index f50ea6876..2c254ad62 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -22,7 +22,7 @@ #include "gui/windows/chatwindow.h" -#include "actorspritemanager.h" +#include "actormanager.h" #include "client.h" #include "commandhandler.h" #include "configuration.h" @@ -671,10 +671,10 @@ void ChatWindow::localChatInput(const std::string &msg) const void ChatWindow::doPresent() const { - if (!actorSpriteManager) + if (!actorManager) return; - const ActorSprites &actors = actorSpriteManager->getAll(); + const ActorSprites &actors = actorManager->getAll(); std::string response; int playercount = 0; @@ -1255,9 +1255,9 @@ void ChatWindow::autoComplete() if (!newName.empty()) needSecure = true; - if (newName.empty() && actorSpriteManager) + if (newName.empty() && actorManager) { - actorSpriteManager->getPlayerNames(nameList, true); + actorManager->getPlayerNames(nameList, true); newName = autoComplete(nameList, name); if (!newName.empty()) needSecure = true; @@ -1268,9 +1268,9 @@ void ChatWindow::autoComplete() newName = spellManager->autoComplete(name); if (newName.empty()) newName = autoComplete(name, &mCommands); - if (newName.empty() && actorSpriteManager) + if (newName.empty() && actorManager) { - actorSpriteManager->getMobNames(nameList); + actorManager->getMobNames(nameList); newName = autoComplete(nameList, name); } if (newName.empty()) @@ -1523,9 +1523,9 @@ void ChatWindow::updateOnline(std::set<std::string> &onlinePlayers) const else { const std::string nick = tab->getNick(); - if (actorSpriteManager) + if (actorManager) { - const Being *const being = actorSpriteManager->findBeingByName( + const Being *const being = actorManager->findBeingByName( nick, ActorSprite::PLAYER); if (being) { |