From a204d2b11e6a4b620877ab6c5b80a818eaa7d476 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Dec 2014 18:14:58 +0300 Subject: Add fake commands to change pet direction. --- src/net/eathena/pethandler.cpp | 4 ++++ src/net/eathena/pethandler.h | 3 +++ 2 files changed, 7 insertions(+) (limited to 'src/net/eathena') diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 9c78787cf..b18cc83d0 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -319,4 +319,8 @@ void PetHandler::unequip() const outMsg.writeInt8(4, "action"); } +void PetHandler::setDirection(const BeingDirection::Type type A_UNUSED) const +{ +} + } // namespace EAthena diff --git a/src/net/eathena/pethandler.h b/src/net/eathena/pethandler.h index 42a03452b..b397d98d4 100644 --- a/src/net/eathena/pethandler.h +++ b/src/net/eathena/pethandler.h @@ -65,6 +65,9 @@ class PetHandler final : public MessageHandler, public Net::PetHandler void unequip() const override final; + void setDirection(const BeingDirection::Type type) const + override final; + protected: static void processPetRoulette(Net::MessageIn &msg); -- cgit v1.2.3-70-g09d2