From d54c371ad9d3c8a019d7d6bdc0262cd352a06ae5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 18:33:24 +0300 Subject: Add server feature haveMove3. --- src/net/tmwa/beinghandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/beinghandler.cpp') diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index 321727e77..2bf3ed887 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -949,7 +949,7 @@ void BeingHandler::processPlayerMove(Net::MessageIn &msg) const void BeingHandler::processBeingMove3(Net::MessageIn &msg) { BLOCK_START("BeingHandler::processBeingMove3") - if (serverVersion < 10) + if (!Net::getServerFeatures()->haveMove3()) { BLOCK_END("BeingHandler::processBeingMove3") return; @@ -1377,7 +1377,7 @@ void BeingHandler::processBeingMove(Net::MessageIn &msg) { dstBeing->setAction(BeingAction::STAND, 0); dstBeing->setTileCoords(srcX, srcY); - if (serverVersion < 10) + if (!Net::getServerFeatures()->haveMove3()) dstBeing->setDestination(dstX, dstY); } -- cgit v1.2.3-70-g09d2