summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-24 21:16:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-24 21:16:44 +0300
commit4749c8977e2e803692bd844b5400f8d72cbaf17f (patch)
treeb60511d5c852566722590a7b0501a110ce0c2e99 /src/net/eathena/partyhandler.cpp
parent3a883849147535b449bf4eb24563da4db8a1ef9c (diff)
downloadplus-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.gz
plus-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.bz2
plus-4749c8977e2e803692bd844b5400f8d72cbaf17f.tar.xz
plus-4749c8977e2e803692bd844b5400f8d72cbaf17f.zip
Add strong typed bool type Online.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index 87b30eb52..5f859d12e 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -246,7 +246,7 @@ void PartyHandler::processPartyMemberInfo(Net::MessageIn &msg)
if (member)
{
if (partyTab && member->getOnline() != online)
- partyTab->showOnline(nick, online);
+ partyTab->showOnline(nick, fromBool(online, Online));
member->setLeader(leader);
member->setOnline(online);
member->setMap(map);
@@ -349,7 +349,7 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg)
|| (onlineNames.find(nick) != onlineNames.end()
&& !online)))
{
- partyTab->showOnline(nick, online);
+ partyTab->showOnline(nick, fromBool(online, Online));
}
member->setLeader(leader);