summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-09 12:41:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-09 12:41:46 +0300
commit39172957623e0b91343e51e2694c78d9c3b1a5fe (patch)
tree4a9a3e2db39cc87b64e22dc9f7e9d50a35f3df33 /src
parent5804dfb0eb162fcd73e6ae7bac9232bb44dbf398 (diff)
downloadplus-39172957623e0b91343e51e2694c78d9c3b1a5fe.tar.gz
plus-39172957623e0b91343e51e2694c78d9c3b1a5fe.tar.bz2
plus-39172957623e0b91343e51e2694c78d9c3b1a5fe.tar.xz
plus-39172957623e0b91343e51e2694c78d9c3b1a5fe.zip
Revert "Highlight gms in online list with color."
This reverts commit 5804dfb0eb162fcd73e6ae7bac9232bb44dbf398.
Diffstat (limited to 'src')
-rw-r--r--src/gui/whoisonline.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index ec4691fca..503ce3758 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -375,13 +375,9 @@ void WhoIsOnline::loadWebList()
}
trim(nick);
- bool isGM(false);
pos = lineStr.find(gmText, 0);
if (pos != std::string::npos)
- {
lineStr = lineStr.substr(pos + gmText.length());
- isGM = true;
- }
trim(lineStr);
pos = lineStr.find("/", 0);
@@ -425,10 +421,7 @@ void WhoIsOnline::loadWebList()
{
case PlayerRelation::NEUTRAL:
default:
- if (isGM)
- player->setText("G");
- else
- player->setText("0");
+ player->setText("0");
neutral.push_back(player);
break;
@@ -776,9 +769,8 @@ void OnlinePlayer::setText(std::string color)
// TRANSLATORS: this inactive status writed in player nick
mText += _("I");
}
-
if (mStatus & Being::FLAG_GM && color == "0")
- color = "G";
+ color = "2";
}
if (mVersion > 0)