diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-22 08:25:51 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-22 08:25:51 -0700 |
commit | 6316da171a41307911b2a0d5a2d1fb22f26c2b80 (patch) | |
tree | e4e672c703a82524b0ccbcf2b56bced7fb6c45ea | |
parent | 4406b2fd90a5d4656bc923bf5c751e4c5250a0d2 (diff) | |
download | mana-6316da171a41307911b2a0d5a2d1fb22f26c2b80.tar.gz mana-6316da171a41307911b2a0d5a2d1fb22f26c2b80.tar.bz2 mana-6316da171a41307911b2a0d5a2d1fb22f26c2b80.tar.xz mana-6316da171a41307911b2a0d5a2d1fb22f26c2b80.zip |
Only give party hilight when the other player is in your party
-rw-r--r-- | src/player.cpp | 2 |
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); } |