summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beinghandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index f74a51fc4..c1ebcefca 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -798,6 +798,8 @@ void BeingHandler::processBeingMove(Net::MessageIn &msg)
msg.readInt8("ys");
dstBeing->setAction(BeingAction::STAND, 0);
dstBeing->setTileCoords(srcX, srcY);
+ if (localPlayer)
+ localPlayer->followMoveTo(dstBeing, srcX, srcY, dstX, dstY);
if (!serverFeatures->haveMove3())
dstBeing->setDestination(dstX, dstY);
@@ -1086,6 +1088,8 @@ void BeingHandler::processBeingMove2(Net::MessageIn &msg)
dstBeing->setAction(BeingAction::STAND, 0);
dstBeing->setTileCoords(srcX, srcY);
+ if (localPlayer)
+ localPlayer->followMoveTo(dstBeing, srcX, srcY, dstX, dstY);
if (!serverFeatures->haveMove3())
dstBeing->setDestination(dstX, dstY);
if (dstBeing->getType() == ActorType::Player)