summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 21:45:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 21:45:33 +0300
commitadc96cc9f4247ceafc5fde66055456494861b139 (patch)
treede2b3d96297bce39f7e487ba135116c5f2aaaf3e /src/gui/windows
parentdc6de526dbdf0145fa3ac0a65d485f40b1722199 (diff)
downloadmanaverse-adc96cc9f4247ceafc5fde66055456494861b139.tar.gz
manaverse-adc96cc9f4247ceafc5fde66055456494861b139.tar.bz2
manaverse-adc96cc9f4247ceafc5fde66055456494861b139.tar.xz
manaverse-adc96cc9f4247ceafc5fde66055456494861b139.zip
Remove default parameters from actormanager.cpp
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/whoisonline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index e123d3941..5be4fa590 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -809,7 +809,8 @@ void WhoIsOnline::setNeutralColor(OnlinePlayer *const player)
}
}
- const Being *const being = actorManager->findBeingByName(nick);
+ const Being *const being = actorManager->findBeingByName(nick,
+ ActorType::Player);
if (being != nullptr)
{
const Guild *const guild2 = localPlayer->getGuild();