diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-15 22:11:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-15 22:11:00 +0300 |
commit | c77c07bbf0be1feba1d25bd7b01293e254b28fa0 (patch) | |
tree | c573f3a1c89a06e5136aedcaae05b7e1aa456b83 /src | |
parent | 4afae6ec3ee0a07deb7fff3e89804f8dcdc2fa54 (diff) | |
download | manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.tar.gz manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.tar.bz2 manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.tar.xz manaverse-c77c07bbf0be1feba1d25bd7b01293e254b28fa0.zip |
Fix showing away badge.
Diffstat (limited to 'src')
-rw-r--r-- | src/being/being.cpp | 4 |
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) { |