diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-26 22:00:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-26 22:00:22 +0300 |
commit | b6d994ed88ec99d08ef60a9ee567687873a18a30 (patch) | |
tree | 08520f8e4c05c3750642a31ad6656d2147f1424e /src/net/ea | |
parent | 4e85bb63c240dfa3997a21e8a39d0b467c97c16c (diff) | |
download | manaplus-b6d994ed88ec99d08ef60a9ee567687873a18a30.tar.gz manaplus-b6d994ed88ec99d08ef60a9ee567687873a18a30.tar.bz2 manaplus-b6d994ed88ec99d08ef60a9ee567687873a18a30.tar.xz manaplus-b6d994ed88ec99d08ef60a9ee567687873a18a30.zip |
Fix moving animation issue with move3 packets enabled.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beingrecv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |