Fix player teleportation bug whilst sneaking
authorHybridDog <ovvv@web.de>
Mon, 4 Jan 2016 16:21:33 +0000 (17:21 +0100)
committerparamat <mat.gregory@virginmedia.com>
Mon, 14 Mar 2016 08:44:28 +0000 (08:44 +0000)
commitc0b6986e3875e6f42682c78fd5db0080a7bae651
treebc03d65ada090bb6538e55912be1398a2918b3d8
parent5a40a7dad8cbf46320c3b5dd1122808eb4919b62
Fix player teleportation bug whilst sneaking

Only set back position when sneaking if player wasn't teleported by adding and using a bool "got_teleported" to player
it fixes #2876
src/localplayer.cpp
src/network/clientpackethandler.cpp
src/player.cpp
src/player.h