From b6d994ed88ec99d08ef60a9ee567687873a18a30 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Sep 2015 22:00:22 +0300 Subject: Fix moving animation issue with move3 packets enabled. --- src/net/ea/beingrecv.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/ea/beingrecv.cpp') diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp index 72111e4e1..be3cc4cb9 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -413,6 +413,10 @@ void BeingRecv::processBeingMove3(Net::MessageIn &msg) dstBeing->setWalkSpeed(Vector(speed, speed, 0)); int16_t x = msg.readInt16("x"); int16_t y = msg.readInt16("y"); + + dstBeing->setAction(BeingAction::STAND, 0); + dstBeing->setTileCoords(x, y); + const unsigned char *moves = msg.readBytes(len, "moving path"); Path path; if (moves) -- cgit v1.2.3-60-g2f50