From 2f768a34f72560ee8b2934228f548a4909533887 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 Jun 2017 01:00:01 +0300 Subject: Rename player_relations into playerRelations. --- src/actormanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actormanager.cpp') diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 5f1bf8157..44e8e7cb7 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1466,7 +1466,7 @@ void ActorManager::heal(const Being *const target) const target->getType() != ActorType::Monster) { // target not enemy - if (player_relations.getRelation(target->getName()) != + if (playerRelations.getRelation(target->getName()) != Relation::ENEMY2) { if (!PacketLimiter::limitPackets(PacketType::PACKET_CHAT)) @@ -1512,7 +1512,7 @@ Being* ActorManager::findMostDamagedPlayer(const int maxTileDist) const Being *const being = static_cast(*it); if ((being == nullptr) || !being->isAlive() || // don't heal dead - player_relations.getRelation(being->getName()) == + playerRelations.getRelation(being->getName()) == Relation::ENEMY2 || // don't heal enemy localPlayer == being) // don't heal self { -- cgit v1.2.3-60-g2f50