summaryrefslogtreecommitdiff
path: root/src/net/tmwa/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/partyhandler.cpp')
-rw-r--r--src/net/tmwa/partyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index 6d9e448f0..6f8787be4 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -294,7 +294,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);
@@ -417,7 +417,7 @@ void PartyHandler::processPartyMove(Net::MessageIn &msg)
m->setY(msg.readInt16("y"));
const bool online = msg.readUInt8("online") != 0;
if (m->getOnline() != online)
- partyTab->showOnline(m->getName(), online);
+ partyTab->showOnline(m->getName(), fromBool(online, Online));
m->setOnline(online);
msg.readString(24, "party");
msg.readString(24, "nick");