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/pethandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/pethandler.cpp') diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index d801c422c..7ccc57283 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -100,19 +100,19 @@ void PetHandler::catchPet(const Being *const being) const if (!being) return; - MessageOut outMsg(CMSG_PET_CATCH); + createOutPacket(CMSG_PET_CATCH); outMsg.writeInt32(being->getId(), "monster id"); } void PetHandler::requestPetState(const int data) const { - MessageOut outMsg(CMSG_PET_REQUEST_STATE); + createOutPacket(CMSG_PET_REQUEST_STATE); outMsg.writeInt32(data, "param"); } void PetHandler::setName(const std::string &name) const { - MessageOut outMsg(CMSG_PET_SET_NAME); + createOutPacket(CMSG_PET_SET_NAME); outMsg.writeString(name, 24, "name"); } -- cgit v1.2.3-60-g2f50