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/chathandler.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/net/ea/chathandler.cpp')
-rw-r--r-- | src/net/ea/chathandler.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp index 1497e41aa..90c6be5bc 100644 --- a/src/net/ea/chathandler.cpp +++ b/src/net/ea/chathandler.cpp @@ -22,7 +22,7 @@ #include "net/ea/chathandler.h" -#include "actorspritemanager.h" +#include "actormanager.h" #include "configuration.h" #include "guildmanager.h" #include "notifications.h" @@ -243,12 +243,12 @@ void ChatHandler::processWhisper(Net::MessageIn &msg) const void ChatHandler::processBeingChat(Net::MessageIn &msg, const bool channels) const { - if (!actorSpriteManager) + if (!actorManager) return; BLOCK_START("ChatHandler::processBeingChat") int chatMsgLength = msg.readInt16() - 8; - Being *const being = actorSpriteManager->findBeing(msg.readInt32()); + Being *const being = actorManager->findBeing(msg.readInt32()); if (!being) { BLOCK_END("ChatHandler::processBeingChat") @@ -342,9 +342,9 @@ void ChatHandler::processChat(Net::MessageIn &msg, const bool normalChat, if (channel.empty()) { const std::string senseStr("You sense the following: "); - if (actorSpriteManager && !chatMsg.find(senseStr)) + if (actorManager && !chatMsg.find(senseStr)) { - actorSpriteManager->parseLevels( + actorManager->parseLevels( chatMsg.substr(senseStr.size())); } } @@ -370,9 +370,9 @@ void ChatHandler::processMVP(Net::MessageIn &msg) const BLOCK_START("ChatHandler::processMVP") // Display MVP player const int id = msg.readInt32(); // id - if (localChatTab && actorSpriteManager && config.getBoolValue("showMVP")) + if (localChatTab && actorManager && config.getBoolValue("showMVP")) { - const Being *const being = actorSpriteManager->findBeing(id); + const Being *const being = actorManager->findBeing(id); if (!being) NotifyManager::notify(NotifyManager::MVP_PLAYER, ""); else |