summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 23:24:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:58 +0300
commit6207b391b9f7d58148572fc2e58a858d993ca525 (patch)
tree82703b59fd83d1773712c8fa9951ccf5253da114 /src
parente0d490b2313976562135f91bf7e723825871b3d4 (diff)
downloadmanaverse-6207b391b9f7d58148572fc2e58a858d993ca525.tar.gz
manaverse-6207b391b9f7d58148572fc2e58a858d993ca525.tar.bz2
manaverse-6207b391b9f7d58148572fc2e58a858d993ca525.tar.xz
manaverse-6207b391b9f7d58148572fc2e58a858d993ca525.zip
Improve reading in processPlayerStop.
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/beinghandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index e609cff21..d43d5dc50 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -493,8 +493,12 @@ void BeingHandler::processPlayerStop(Net::MessageIn &msg) const
dstBeing->setTileCoords(x, y);
if (dstBeing->getCurrentAction() == BeingAction::MOVE)
dstBeing->setAction(BeingAction::STAND, 0);
+ BLOCK_END("BeingHandler::processPlayerStop")
+ return;
}
}
+ msg.readInt16("x");
+ msg.readInt16("y");
BLOCK_END("BeingHandler::processPlayerStop")
}