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/being/playerrelations.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/being/playerrelations.cpp')
-rw-r--r-- | src/being/playerrelations.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp index fc4889951..b06539ea0 100644 --- a/src/being/playerrelations.cpp +++ b/src/being/playerrelations.cpp @@ -22,7 +22,7 @@ #include "being/playerrelations.h" -#include "actorspritemanager.h" +#include "actormanager.h" #include "configuration.h" #include "being/localplayer.h" @@ -244,9 +244,9 @@ void PlayerRelationsManager::signalUpdate(const std::string &name) FOR_EACH (PlayerRelationListenersCIter, it, mListeners) (*it)->updatedPlayer(name); - if (actorSpriteManager) + if (actorManager) { - Being *const being = actorSpriteManager->findBeingByName( + Being *const being = actorManager->findBeingByName( name, Being::PLAYER); if (being && being->getType() == Being::PLAYER) @@ -306,7 +306,7 @@ bool PlayerRelationsManager::hasPermission(const Being *const being, bool PlayerRelationsManager::hasPermission(const std::string &name, const unsigned int flags) const { - if (!actorSpriteManager) + if (!actorManager) return false; const unsigned int rejections = flags @@ -318,7 +318,7 @@ bool PlayerRelationsManager::hasPermission(const std::string &name, // execute `ignore' strategy, if possible if (mIgnoreStrategy) { - Being *const b = actorSpriteManager->findBeingByName( + Being *const b = actorManager->findBeingByName( name, ActorSprite::PLAYER); if (b && b->getType() == ActorSprite::PLAYER) |