diff options
author | SmallJoker <mk939@ymail.com> | 2017-04-01 20:38:14 +0200 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-05-03 03:16:20 +0100 |
commit | f9fdb48dc85e53253ef93972355d3c7bc9d0ffb0 (patch) | |
tree | 96314426d03fffb6881bfc36bb961d2f6366fbf7 /src/network/clientpackethandler.cpp | |
parent | bd921a7916f0fafc493b1c4d0eeb5e2bb1d6a7c2 (diff) | |
download | minetest-f9fdb48dc85e53253ef93972355d3c7bc9d0ffb0.tar.gz minetest-f9fdb48dc85e53253ef93972355d3c7bc9d0ffb0.tar.bz2 minetest-f9fdb48dc85e53253ef93972355d3c7bc9d0ffb0.zip |
Sneak: Improve and fix various things
Remove useless `got_teleported`.
Fix jitter when walking against the sneak limits.
Fix damage evading on sneak ladders.
Diffstat (limited to 'src/network/clientpackethandler.cpp')
-rw-r--r-- | src/network/clientpackethandler.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index a895acc84..4316a77d4 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -561,7 +561,6 @@ void Client::handleCommand_MovePlayer(NetworkPacket* pkt) *pkt >> pos >> pitch >> yaw; - player->got_teleported = true; player->setPosition(pos); infostream << "Client got TOCLIENT_MOVE_PLAYER" |