mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Sneak: Improve and fix various things
Remove useless `got_teleported`. Fix jitter when walking against the sneak limits. Fix damage evading on sneak ladders.
This commit is contained in:
parent
bd921a7916
commit
f9fdb48dc8
6 changed files with 36 additions and 32 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue