From 7d268331bf19c15b601251a4ff8947fa80e1cd48 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Feb 2015 16:48:42 +0300 Subject: eathena: fix pet set direction for old server versions. --- src/net/eathena/pethandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp index 2b1e501f7..8daa34709 100644 --- a/src/net/eathena/pethandler.cpp +++ b/src/net/eathena/pethandler.cpp @@ -324,6 +324,8 @@ void PetHandler::unequip() const void PetHandler::setDirection(const unsigned char type) const { + if (!serverFeatures->haveMovePet()) + return; createOutPacket(CMSG_PET_DIRECTION); outMsg.writeInt32(0, "pet id"); outMsg.writeInt8(0, "head direction"); -- cgit v1.2.3-70-g09d2