From b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 17:33:16 +0300 Subject: Add comments for all output packets header. --- src/net/eathena/familyhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/familyhandler.cpp') diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp index b0135a4f3..543870328 100644 --- a/src/net/eathena/familyhandler.cpp +++ b/src/net/eathena/familyhandler.cpp @@ -68,7 +68,7 @@ void FamilyHandler::askForChild(const Being *const being) if (!being) return; - MessageOut outMsg(CMSG_ASK_FOR_CHILD); + createOutPacket(CMSG_ASK_FOR_CHILD); outMsg.writeInt32(being->getId()); } @@ -81,7 +81,7 @@ void FamilyHandler::processAskForChild(Net::MessageIn &msg) void FamilyHandler::askForChildReply(const bool accept) { - MessageOut outMsg(CMSG_ASK_FOR_CHILD_REPLY); + createOutPacket(CMSG_ASK_FOR_CHILD_REPLY); outMsg.writeInt32(mParent1, "parent1"); outMsg.writeInt32(mParent2, "parent2"); outMsg.writeInt32(accept ? 0: 1, "result"); -- cgit v1.2.3-60-g2f50