summaryrefslogtreecommitdiff
path: root/src/net/eathena/questhandler.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/questhandler.cpp
parent6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff)
downloadplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz
plus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2
plus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz
plus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip
Fix code style.
Diffstat (limited to 'src/net/eathena/questhandler.cpp')
-rw-r--r--src/net/eathena/questhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/questhandler.cpp b/src/net/eathena/questhandler.cpp
index 87a84d5ee..dcdf726f2 100644
--- a/src/net/eathena/questhandler.cpp
+++ b/src/net/eathena/questhandler.cpp
@@ -187,7 +187,7 @@ void QuestHandler::setQeustActiveState(const int questId,
{
createOutPacket(CMSG_QUEST_ACTIVATE);
outMsg.writeInt32(questId, "quest id");
- outMsg.writeInt8(active ? 1 : 0, "activate");
+ outMsg.writeInt8(static_cast<int8_t>(active ? 1 : 0), "activate");
}
} // namespace EAthena