summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-02-22 08:25:51 -0700
committerJared Adams <jaxad0127@gmail.com>2010-02-22 08:25:51 -0700
commit6316da171a41307911b2a0d5a2d1fb22f26c2b80 (patch)
treee4e672c703a82524b0ccbcf2b56bced7fb6c45ea
parent4406b2fd90a5d4656bc923bf5c751e4c5250a0d2 (diff)
downloadmana-client-6316da171a41307911b2a0d5a2d1fb22f26c2b80.tar.gz
mana-client-6316da171a41307911b2a0d5a2d1fb22f26c2b80.tar.bz2
mana-client-6316da171a41307911b2a0d5a2d1fb22f26c2b80.tar.xz
mana-client-6316da171a41307911b2a0d5a2d1fb22f26c2b80.zip
Only give party hilight when the other player is in your party
-rw-r--r--src/player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 18dc0818..5eb0163f 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -301,7 +301,7 @@ void Player::updateColors()
mTextColor = &guiPalette->getColor(Palette::GM);
mNameColor = &guiPalette->getColor(Palette::GM_NAME);
}
- else if (mParty != NULL)
+ else if (mParty && mParty == player_node->getParty())
{
mNameColor = &guiPalette->getColor(Palette::PARTY);
}