diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-15 23:21:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-15 23:21:52 +0300 |
commit | de5b0753bd94e014f0e81fc676b21c251aabd326 (patch) | |
tree | 8d0e306c83bb72eb500e34fa41e6d10918544739 /src/being/being.cpp | |
parent | 1e59c7e61474e89e08dcb40134d8be5f5ae76bf4 (diff) | |
download | mv-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.gz mv-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.bz2 mv-de5b0753bd94e014f0e81fc676b21c251aabd326.tar.xz mv-de5b0753bd94e014f0e81fc676b21c251aabd326.zip |
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 5 |
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); } |