summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/pethandler.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index 34892ba64..f04d1e8fc 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -285,32 +285,32 @@ void PetHandler::processPetFood(Net::MessageIn &msg)
void PetHandler::requestStatus() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(0);
+ outMsg.writeInt8(0, "action");
}
void PetHandler::feed() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(1);
+ outMsg.writeInt8(1, "action");
}
void PetHandler::dropLoot() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(2); // performance
+ outMsg.writeInt8(2, "action"); // performance
}
void PetHandler::returnToEgg() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(3);
+ outMsg.writeInt8(3, "action");
PlayerInfo::setPet(nullptr);
}
void PetHandler::unequip() const
{
createOutPacket(CMSG_PET_MENU_ACTION);
- outMsg.writeInt8(4);
+ outMsg.writeInt8(4, "action");
}
} // namespace EAthena