diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 16 | ||||
-rw-r--r-- | src/net/ea/playerhandler.h | 2 |
2 files changed, 0 insertions, 18 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") diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h index d58930237..6669da9ff 100644 --- a/src/net/ea/playerhandler.h +++ b/src/net/ea/playerhandler.h @@ -57,8 +57,6 @@ class PlayerHandler notfinal : public Net::PlayerHandler int getAttackLocation() const override final A_WARN_UNUSED; - static void processWalkResponse(Net::MessageIn &msg); - static void processPlayerWarp(Net::MessageIn &msg); static void processPlayerStatUpdate1(Net::MessageIn &msg); |