diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:58:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 23:58:39 +0300 |
commit | 0a39e956218ca15bf78803f89141c7c9dfcec0d9 (patch) | |
tree | adfc0fcd42792ddad6b3cb8843d6fe0c22170580 /src/being/playerrelations.cpp | |
parent | 69022cd939e572feadaadf1041ae7dadad782ed6 (diff) | |
download | mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2 mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz mv-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip |
Change format in ActorType enum.
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 656e59088..e592b9e8e 100644 --- a/src/being/playerrelations.cpp +++ b/src/being/playerrelations.cpp @@ -249,9 +249,9 @@ void PlayerRelationsManager::signalUpdate(const std::string &name) if (actorManager) { Being *const being = actorManager->findBeingByName( - name, ActorType::PLAYER); + name, ActorType::Player); - if (being && being->getType() == ActorType::PLAYER) + if (being && being->getType() == ActorType::Player) being->updateColors(); } } @@ -300,7 +300,7 @@ bool PlayerRelationsManager::hasPermission(const Being *const being, if (!being) return false; - if (being->getType() == ActorType::PLAYER) + if (being->getType() == ActorType::Player) return hasPermission(being->getName(), flags) == flags; return true; } @@ -321,9 +321,9 @@ bool PlayerRelationsManager::hasPermission(const std::string &name, if (mIgnoreStrategy) { Being *const b = actorManager->findBeingByName( - name, ActorType::PLAYER); + name, ActorType::Player); - if (b && b->getType() == ActorType::PLAYER) + if (b && b->getType() == ActorType::Player) mIgnoreStrategy->ignore(b, rejections); } } |