diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-05 01:41:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-05 01:41:54 +0300 |
commit | ab545fee3daf930dc46aaf303355c1c578320484 (patch) | |
tree | 24c8286acb9fea22b1e689810be5534de2323623 /src/being.cpp | |
parent | 851bee28374c5c60114c9f78299e28eaa14891b3 (diff) | |
download | manaverse-ab545fee3daf930dc46aaf303355c1c578320484.tar.gz manaverse-ab545fee3daf930dc46aaf303355c1c578320484.tar.bz2 manaverse-ab545fee3daf930dc46aaf303355c1c578320484.tar.xz manaverse-ab545fee3daf930dc46aaf303355c1c578320484.zip |
Add blacklist relation. In this mode blocked trades, emotes, speech text.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index 2ed05449a..84528622d 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1623,7 +1623,9 @@ void Being::updateColors() mNameColor = &userPalette->getColor(UserPalette::FRIEND); } else if (player_relations.getRelation(mName) == - PlayerRelation::DISREGARDED) + PlayerRelation::DISREGARDED + || player_relations.getRelation(mName) == + PlayerRelation::BLACKLISTED) { mNameColor = &userPalette->getColor(UserPalette::DISREGARDED); } |