From 566ae30ff94caf6c92fc7d64f021b567933f8a60 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Sep 2014 17:07:09 +0300 Subject: fix code style. --- src/net/eathena/partyhandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/partyhandler.cpp') diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index 5ef628744..ab5d17d47 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -150,7 +150,7 @@ void PartyHandler::inviteResponse(const std::string &inviter A_UNUSED, { MessageOut outMsg(CMSG_PARTY_INVITED2); outMsg.writeInt32(localPlayer->getId()); - outMsg.writeInt8(accept ? 1 : 0); + outMsg.writeInt8(static_cast(accept ? 1 : 0)); } } @@ -432,7 +432,8 @@ void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const nick); break; case 5: - NotifyManager::notify(NotifyTypes::PARTY_INVITE_PARTY_BLOCKED_INVITE, + NotifyManager::notify( + NotifyTypes::PARTY_INVITE_PARTY_BLOCKED_INVITE, nick); break; case 7: -- cgit v1.2.3-60-g2f50