From f6f2a8072c517ee47e77979db9dbb9ecb3430cb5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Feb 2013 02:07:46 +0300 Subject: fix name signs update. Some times $|A can not be visible in player name. --- src/being.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/being.cpp b/src/being.cpp index 4f7cd84bb..0f64cace3 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1938,7 +1938,7 @@ bool Being::updateFromCache() setIp(entry->getIp()); mAdvanced = entry->isAdvanced(); - if (entry->isAdvanced()) + if (mAdvanced) { const int flags = entry->getFlags(); mShop = ((flags & FLAG_SHOP) != 0); @@ -2686,6 +2686,8 @@ void Being::setState(const uint8_t state) if (needUpdate) { + if (shop || away || inactive) + mAdvanced = true; updateName(); addToCache(); } -- cgit v1.2.3-70-g09d2