diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-04 23:44:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-04 23:44:48 +0300 |
commit | 0eafefa3d40cf730749cd7fdfb94f73313e1a159 (patch) | |
tree | e3ed31b60d4adf148c15355a1827f4275e709724 /src/net/ea | |
parent | 9d4f90750bb47f918881790edf4c60c15aa37019 (diff) | |
download | manaplus-0eafefa3d40cf730749cd7fdfb94f73313e1a159.tar.gz manaplus-0eafefa3d40cf730749cd7fdfb94f73313e1a159.tar.bz2 manaplus-0eafefa3d40cf730749cd7fdfb94f73313e1a159.tar.xz manaplus-0eafefa3d40cf730749cd7fdfb94f73313e1a159.zip |
add support for getting full move path from server (evol only).
Also change netcode version to 10.
Some times still movement bit wrong.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 7c5c2598c..20b7b23f6 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -306,7 +306,8 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, { dstBeing->setAction(Being::STAND); dstBeing->setTileCoords(srcX, srcY); - dstBeing->setDestination(dstX, dstY); + if (serverVersion < 10) + dstBeing->setDestination(dstX, dstY); } } else |