diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-02 03:02:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-02 03:02:25 +0300 |
commit | 17631dacf2cb8ebc3acc1dae9df0729a80a150d9 (patch) | |
tree | f05dce9d2cedcf3690f789e7697658608bd83436 /src/being.cpp | |
parent | 30a3e0b6d4b773e2d803730d9815c4d0eab3ff81 (diff) | |
download | manaplus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.tar.gz manaplus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.tar.bz2 manaplus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.tar.xz manaplus-17631dacf2cb8ebc3acc1dae9df0729a80a150d9.zip |
Add enemy relation.
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 5eac242fd..5e8d68041 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1631,7 +1631,9 @@ void Being::updateColors() mNameColor = &userPalette->getColor(UserPalette::DISREGARDED); } else if (player_relations.getRelation(mName) == - PlayerRelation::IGNORED) + PlayerRelation::IGNORED + || player_relations.getRelation(mName) == + PlayerRelation::ENEMY2) { mNameColor = &userPalette->getColor(UserPalette::IGNORED); } |