summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
commit3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 (patch)
treed7f1400583c5bc6916129e05fc5e0907d1081ca9 /src/net/eathena/partyhandler.cpp
parent6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff)
downloadManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz
ManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2
ManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz
ManaVerse-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip
Fix code style.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index d90b82248..d63aa69cc 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -459,7 +459,7 @@ void PartyHandler::changeLeader(const std::string &name) const
void PartyHandler::allowInvite(const bool allow) const
{
createOutPacket(CMSG_PARTY_ALLOW_INVITES);
- outMsg.writeInt8(allow ? 1 : 0);
+ outMsg.writeInt8(static_cast<int8_t>(allow ? 1 : 0));
}
} // namespace EAthena