summaryrefslogtreecommitdiff
path: root/src/being.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/being.cpp
parentc85d939d9b3f6c10288dc86ffa7811408e349657 (diff)
downloadmanaplus-3e026f7efc76b0e6e76177d04c989432cb517b7a.tar.gz
manaplus-3e026f7efc76b0e6e76177d04c989432cb517b7a.tar.bz2
manaplus-3e026f7efc76b0e6e76177d04c989432cb517b7a.tar.xz
manaplus-3e026f7efc76b0e6e76177d04c989432cb517b7a.zip
Fix manaplus clients name highlight in evol server. Before was all highlighted.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index b5f55592f..2d8bc042c 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2525,7 +2525,6 @@ void Being::saveComment(const std::string &name,
void Being::setState(Uint8 state)
{
- mAdvanced = true;
bool shop = (state & FLAG_SHOP);
bool away = (state & FLAG_AWAY);
bool inactive = (state & FLAG_INACTIVE);
@@ -2548,6 +2547,7 @@ void Being::setEmote(Uint8 emotion, int emote_time)
if ((emotion & FLAG_SPECIAL) == FLAG_SPECIAL)
{
setState(emotion);
+ mAdvanced = true;
}
else
{