summaryrefslogtreecommitdiff
path: root/src/net/eathena/familyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-19 17:33:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-19 17:33:16 +0300
commitb7addc0a9a519cf9dcc3e804d9918ce4934a3e83 (patch)
treeeed5cd349f7e9db512fd1e940ed7b070df1c6a35 /src/net/eathena/familyhandler.cpp
parent403792db7d005066273bcbe138afcd1a98b3144c (diff)
downloadmanaverse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.gz
manaverse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.bz2
manaverse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.xz
manaverse-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.zip
Add comments for all output packets header.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r--src/net/eathena/familyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
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");