summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 02:04:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit2a0b524403f62e0217cf52e88a0c7e4e62f88df9 (patch)
treecb0e40619e8cf7e08427ba68e5955ca5263ea184 /src/net/ea/playerhandler.cpp
parent2e6aa47dc0d372536985cec0e4d5ff7c9eb2bd18 (diff)
downloadplus-2a0b524403f62e0217cf52e88a0c7e4e62f88df9.tar.gz
plus-2a0b524403f62e0217cf52e88a0c7e4e62f88df9.tar.bz2
plus-2a0b524403f62e0217cf52e88a0c7e4e62f88df9.tar.xz
plus-2a0b524403f62e0217cf52e88a0c7e4e62f88df9.zip
Move processWalkResponse from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 437f1fe27..e365ccdfe 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -99,22 +99,6 @@ Vector PlayerHandler::getDefaultWalkSpeed() const
return Vector(150, 150, 0);
}
-void PlayerHandler::processWalkResponse(Net::MessageIn &msg)
-{
- BLOCK_START("PlayerHandler::processWalkResponse")
- /*
- * This client assumes that all walk messages succeed,
- * and that the server will send a correction notice
- * otherwise.
- */
- uint16_t srcX, srcY, dstX, dstY;
- msg.readInt32(); // tick
- msg.readCoordinatePair(srcX, srcY, dstX, dstY);
- if (localPlayer)
- localPlayer->setRealPos(dstX, dstY);
- BLOCK_END("PlayerHandler::processWalkResponse")
-}
-
void PlayerHandler::processPlayerWarp(Net::MessageIn &msg)
{
BLOCK_START("PlayerHandler::processPlayerWarp")