diff options
author | Mat <mail@mathias.is> | 2020-03-19 18:13:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 18:13:41 +0100 |
commit | 0e07e231a219fb810c100e1cd823ef7585f7e2ff (patch) | |
tree | 909e132bd66492606fc1b470284da448372f5534 /src/Entities/Player.cpp | |
parent | Added myself to CONTRIBUTORS file (#4515) (diff) | |
download | cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.gz cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.bz2 cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.lz cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.xz cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.tar.zst cuberite-0e07e231a219fb810c100e1cd823ef7585f7e2ff.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 07342bd52..b182629ea 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1000,10 +1000,6 @@ void cPlayer::ApplyArmorDamage(int a_DamageBlocked) bool cPlayer::DoTakeDamage(TakeDamageInfo & a_TDI) { - SetSpeed(0, 0, 0); - // Prevents knocking the player in the wrong direction due to - // the speed vector problems, see #2865 - // In the future, the speed vector should be fixed if ((a_TDI.DamageType != dtInVoid) && (a_TDI.DamageType != dtPlugin)) { if (IsGameModeCreative() || IsGameModeSpectator()) |