From c77c07bbf0be1feba1d25bd7b01293e254b28fa0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 15 Sep 2015 22:11:00 +0300 Subject: Fix showing away badge. --- src/being/being.cpp | 4 ++-- 1 file 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) { -- cgit v1.2.3-70-g09d2