summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-15 23:21:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-15 23:21:52 +0300
commitde5b0753bd94e014f0e81fc676b21c251aabd326 (patch)
tree8d0e306c83bb72eb500e34fa41e6d10918544739 /src/being/being.cpp
parent1e59c7e61474e89e08dcb40134d8be5f5ae76bf4 (diff)
downloadmanaplus-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.gz
manaplus-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.bz2
manaplus-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.xz
manaplus-de5b0753bd94e014f0e81fc676b21c251aabd326.zip
Fix code style.
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);
}