summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-24 17:51:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-24 17:51:23 +0300
commit71c1fa501a77cd3ab9a6a0686bd9ae46736be8f2 (patch)
treedf1280cecae48e8b48b95c011b5fd5511049f5a6 /src
parentd0bc156e6f0da733457d608f9d81689324c08301 (diff)
downloadplus-71c1fa501a77cd3ab9a6a0686bd9ae46736be8f2.tar.gz
plus-71c1fa501a77cd3ab9a6a0686bd9ae46736be8f2.tar.bz2
plus-71c1fa501a77cd3ab9a6a0686bd9ae46736be8f2.tar.xz
plus-71c1fa501a77cd3ab9a6a0686bd9ae46736be8f2.zip
Fix homunculus and mercenary move packets.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/homunculushandler.cpp2
-rw-r--r--src/net/eathena/mercenaryhandler.cpp2
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,