From 17631dacf2cb8ebc3acc1dae9df0729a80a150d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 2 Nov 2011 03:02:25 +0300 Subject: Add enemy relation. --- src/being.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/being.cpp') 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); } -- cgit v1.2.3-60-g2f50