From 707a1570df9146c42411afb6dd7b2e9bc11b0251 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 May 2014 17:29:22 +0300 Subject: Move being flags into separate file. --- src/gui/windows/whoisonline.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index c417e6b37..38ddcf806 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -818,7 +818,7 @@ void OnlinePlayer::setText(std::string color) } } - if ((mStatus != 255 && mStatus & Being::FLAG_GM) || mIsGM) + if ((mStatus != 255 && mStatus & BeingFlag::GM) || mIsGM) mText.append("(GM) "); if (mLevel > 0) @@ -831,20 +831,20 @@ void OnlinePlayer::setText(std::string color) if (mStatus > 0 && mStatus != 255) { - if (mStatus & Being::FLAG_SHOP) + if (mStatus & BeingFlag::SHOP) mText.append("$"); - if (mStatus & Being::FLAG_AWAY) + if (mStatus & BeingFlag::AWAY) { // TRANSLATORS: this away status writed in player nick mText.append(_("A")); } - if (mStatus & Being::FLAG_INACTIVE) + if (mStatus & BeingFlag::INACTIVE) { // TRANSLATORS: this inactive status writed in player nick mText.append(_("I")); } - if (mStatus & Being::FLAG_GM && color == "0") + if (mStatus & BeingFlag::GM && color == "0") color = "2"; } else if (mIsGM && color == "0") -- cgit v1.2.3-60-g2f50