summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-12 17:29:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-12 17:29:22 +0300
commit707a1570df9146c42411afb6dd7b2e9bc11b0251 (patch)
tree590ecfdf2cde1908c2264ab5370a0495b7aa83b7 /src/gui
parent81f319af0c6321474282de8928378366bbb6e44d (diff)
downloadManaVerse-707a1570df9146c42411afb6dd7b2e9bc11b0251.tar.gz
ManaVerse-707a1570df9146c42411afb6dd7b2e9bc11b0251.tar.bz2
ManaVerse-707a1570df9146c42411afb6dd7b2e9bc11b0251.tar.xz
ManaVerse-707a1570df9146c42411afb6dd7b2e9bc11b0251.zip
Move being flags into separate file.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/whoisonline.cpp10
1 files changed, 5 insertions, 5 deletions
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")