summaryrefslogtreecommitdiff
path: root/src/net/eathena/pethandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/pethandler.cpp')
-rw-r--r--src/net/eathena/pethandler.cpp2
1 files changed, 2 insertions, 0 deletions
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");