summaryrefslogtreecommitdiff
path: root/src/net/eathena/questhandler.cpp
diff options
context:
space:
mode:
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 76dad59a9..87a84d5ee 100644
--- a/src/net/eathena/questhandler.cpp
+++ b/src/net/eathena/questhandler.cpp
@@ -185,7 +185,7 @@ void QuestHandler::processRemoveQuest(Net::MessageIn &msg)
void QuestHandler::setQeustActiveState(const int questId,
const bool active) const
{
- MessageOut outMsg(CMSG_QUEST_ACTIVATE);
+ createOutPacket(CMSG_QUEST_ACTIVATE);
outMsg.writeInt32(questId, "quest id");
outMsg.writeInt8(active ? 1 : 0, "activate");
}