summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-15 22:11:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-15 22:11:00 +0300
commitc77c07bbf0be1feba1d25bd7b01293e254b28fa0 (patch)
treec573f3a1c89a06e5136aedcaae05b7e1aa456b83 /src/being/being.cpp
parent4afae6ec3ee0a07deb7fff3e89804f8dcdc2fa54 (diff)
downloadmanaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.tar.gz
manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.tar.bz2
manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.tar.xz
manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.zip
Fix showing away badge.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index b3cda4463..14610d526 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2519,7 +2519,7 @@ bool Being::updateFromCache()
showShopBadge(mShop);
showInactiveBadge(mInactive);
- showAwayBadge(mInactive);
+ showAwayBadge(mAway);
updateAwayEffect();
if (mType == ActorType::Player || mTeamId)
updateColors();
@@ -3373,7 +3373,7 @@ void Being::setState(const uint8_t state)
updateAwayEffect();
showShopBadge(mShop);
showInactiveBadge(mInactive);
- showAwayBadge(mInactive);
+ showAwayBadge(mAway);
if (needUpdate)
{