summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 18:33:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 18:33:24 +0300
commitd54c371ad9d3c8a019d7d6bdc0262cd352a06ae5 (patch)
treed3b37b48a41d6c72228ab214b7a65bb237c1ddb8 /src/net/tmwa/beinghandler.cpp
parenta143251ee20a65b43c6d85d9f15bddf06dbc8804 (diff)
downloadplus-d54c371ad9d3c8a019d7d6bdc0262cd352a06ae5.tar.gz
plus-d54c371ad9d3c8a019d7d6bdc0262cd352a06ae5.tar.bz2
plus-d54c371ad9d3c8a019d7d6bdc0262cd352a06ae5.tar.xz
plus-d54c371ad9d3c8a019d7d6bdc0262cd352a06ae5.zip
Add server feature haveMove3.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}