summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/pethandler.cpp4
-rw-r--r--src/net/eathena/pethandler.h2
-rw-r--r--src/net/eathena/protocol.h2
3 files changed, 4 insertions, 4 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");
}
diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h
index 3f98b619b..58f1ffe4b 100644
--- a/src/net/eathena/pethandler.h
+++ b/src/net/eathena/pethandler.h
@@ -51,7 +51,7 @@ class PetHandler final : public MessageHandler, public Net::PetHandler
void catchPet(const Being *const being) const override final;
- void requestPetState(const int data) const override final;
+ void sendPetMessage(const int data) const override final;
void processPetMessage(Net::MessageIn &msg);
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 188599ac0..5c57a7643 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -406,7 +406,7 @@
#define CMSG_PLAYER_SET_MEMO 0x011d
#define CMSG_PET_CATCH 0x019f
-#define CMSG_PET_REQUEST_STATE 0x01a9
+#define CMSG_PET_SEND_MESSAGE 0x01a9
#define CMSG_PET_SET_NAME 0x01a5
#define CMSG_PET_SELECT_EGG 0x01a7
#define CMSG_PET_MENU_ACTION 0x01a1