summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 8be720f13..bf17a2a23 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2107,8 +2107,9 @@ void Being::updateColors()
{
mNameColor = &userPalette->getColor(UserColorId::DISREGARDED);
}
- else if (player_relations.getRelation(mName) == Relation::IGNORED
- || player_relations.getRelation(mName) == Relation::ENEMY2)
+ else if (player_relations.getRelation(mName)
+ == Relation::IGNORED ||
+ player_relations.getRelation(mName)== Relation::ENEMY2)
{
mNameColor = &userPalette->getColor(UserColorId::IGNORED);
}