summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r--src/net/eathena/pethandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index c565cd280..00dc27c07 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -140,9 +140,9 @@ void PetHandler::catchPet(const Being *const being) const
outMsg.writeInt32(being->getId(), "monster id");
}
-void PetHandler::requestPetState(const int data) const
+void PetHandler::sendPetMessage(const int data) const
{
- createOutPacket(CMSG_PET_REQUEST_STATE);
+ createOutPacket(CMSG_PET_SEND_MESSAGE);
outMsg.writeInt32(data, "param");
}