summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-23 14:51:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-23 14:51:30 +0300
commitab5e3e053a31efdc5799c1239e2bceaacf7cff61 (patch)
tree281095fe5a82edf1b377fe80910ec813c5b40064 /src/net/eathena/pethandler.cpp
parentc2a0903d2f487a6146bbf0829adb16afeb1efda5 (diff)
downloadplus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.tar.gz
plus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.tar.bz2
plus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.tar.xz
plus-ab5e3e053a31efdc5799c1239e2bceaacf7cff61.zip
eathena: rename packet CMSG_PET_REQUEST_STATE to CMSG_PET_SEND_MESSAGE.
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");
}