summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-13 01:04:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-13 01:04:05 +0300
commitea0b61e18f36f28806940b00a2cddaef912c3340 (patch)
tree616205f44832d4ced4fc0b50b650eedb0fbf435c /src/gui/windows/whoisonline.cpp
parent814e88e5ca69bc54837be27429dbf42dd41f7ac6 (diff)
downloadplus-ea0b61e18f36f28806940b00a2cddaef912c3340.tar.gz
plus-ea0b61e18f36f28806940b00a2cddaef912c3340.tar.bz2
plus-ea0b61e18f36f28806940b00a2cddaef912c3340.tar.xz
plus-ea0b61e18f36f28806940b00a2cddaef912c3340.zip
Move actor type into separate file.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 38ddcf806..ff24030d4 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -192,7 +192,7 @@ void WhoIsOnline::handleLink(const std::string& link, MouseEvent *event)
{
const std::string text = decodeLinkText(link);
Being *const being = actorManager->findBeingByName(
- text, Being::PLAYER);
+ text, ActorType::PLAYER);
if (being && viewport)
{
@@ -414,7 +414,7 @@ void WhoIsOnline::loadWebList()
if (actorManager)
{
Being *const being = actorManager->findBeingByName(
- nick, Being::PLAYER);
+ nick, ActorType::PLAYER);
if (being)
{
if (level > 0)
@@ -808,7 +808,7 @@ void OnlinePlayer::setText(std::string color)
if (mStatus != 255 && actorManager)
{
Being *const being = actorManager->findBeingByName(
- mNick, Being::PLAYER);
+ mNick, ActorType::PLAYER);
if (being)
{
being->setState(mStatus);