From 71c1fa501a77cd3ab9a6a0686bd9ae46736be8f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Aug 2016 17:51:23 +0300 Subject: Fix homunculus and mercenary move packets. --- src/net/eathena/homunculushandler.cpp | 2 +- src/net/eathena/mercenaryhandler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/eathena/homunculushandler.cpp b/src/net/eathena/homunculushandler.cpp index 9837eccb5..9de5a29ea 100644 --- a/src/net/eathena/homunculushandler.cpp +++ b/src/net/eathena/homunculushandler.cpp @@ -63,7 +63,7 @@ void HomunculusHandler::move(const int x, const int y) const outMsg.writeBeingId(id, "homunculus id"); outMsg.writeCoordinates(CAST_U16(x), CAST_U16(y), - 0U, "position"); + 1U, "position"); } void HomunculusHandler::attack(const BeingId targetId, diff --git a/src/net/eathena/mercenaryhandler.cpp b/src/net/eathena/mercenaryhandler.cpp index a6043100b..91749df7a 100644 --- a/src/net/eathena/mercenaryhandler.cpp +++ b/src/net/eathena/mercenaryhandler.cpp @@ -63,7 +63,7 @@ void MercenaryHandler::move(const int x, const int y) const outMsg.writeBeingId(id, "mercenary id"); outMsg.writeCoordinates(CAST_U16(x), CAST_U16(y), - 0U, "position"); + 1U, "position"); } void MercenaryHandler::attack(const BeingId targetId, -- cgit v1.2.3-70-g09d2