summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-28 03:29:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-28 03:29:34 +0300
commit3e026f7efc76b0e6e76177d04c989432cb517b7a (patch)
tree82234ac42313d5826f2b15cfd9899cf66f38e0a3 /src/gui/whoisonline.cpp
parentc85d939d9b3f6c10288dc86ffa7811408e349657 (diff)
downloadManaVerse-3e026f7efc76b0e6e76177d04c989432cb517b7a.tar.gz
ManaVerse-3e026f7efc76b0e6e76177d04c989432cb517b7a.tar.bz2
ManaVerse-3e026f7efc76b0e6e76177d04c989432cb517b7a.tar.xz
ManaVerse-3e026f7efc76b0e6e76177d04c989432cb517b7a.zip
Fix manaplus clients name highlight in evol server. Before was all highlighted.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index 15c8a42c4..eba058bd7 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -738,7 +738,12 @@ void OnlinePlayer::setText(std::string color)
Being *being = actorSpriteManager->findBeingByName(
mNick, Being::PLAYER);
if (being)
+ {
being->setState(mStatus);
+ // for now highlight versions > 3
+ if (mVersion > 3)
+ being->setAdvanced(true);
+ }
}
if (mLevel > 0)