diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
commit | b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 (patch) | |
tree | eed5cd349f7e9db512fd1e940ed7b070df1c6a35 /src/net/eathena/familyhandler.cpp | |
parent | 403792db7d005066273bcbe138afcd1a98b3144c (diff) | |
download | manaplus-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.gz manaplus-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.bz2 manaplus-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.xz manaplus-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.zip |
Add comments for all output packets header.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r-- | src/net/eathena/familyhandler.cpp | 4 |
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"); |