diff options
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"); |