summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-03 19:56:37 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-04 00:58:12 +0200
commita509cf00ef5d76d24549557192b7b43573837475 (patch)
treef8f4d92dc175b33ec2da15930041343fa52741ae /src/Entities/Entity.cpp
parentMerge pull request #1930 from SafwatHalaby/AI_Jump (diff)
downloadcuberite-a509cf00ef5d76d24549557192b7b43573837475.tar
cuberite-a509cf00ef5d76d24549557192b7b43573837475.tar.gz
cuberite-a509cf00ef5d76d24549557192b7b43573837475.tar.bz2
cuberite-a509cf00ef5d76d24549557192b7b43573837475.tar.lz
cuberite-a509cf00ef5d76d24549557192b7b43573837475.tar.xz
cuberite-a509cf00ef5d76d24549557192b7b43573837475.tar.zst
cuberite-a509cf00ef5d76d24549557192b7b43573837475.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 51cee248e..b87cf51a6 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -247,7 +247,6 @@ void cEntity::TakeDamage(eDamageType a_DamageType, cEntity * a_Attacker, int a_R
if (a_Attacker != nullptr)
{
Heading = a_Attacker->GetLookVector() * (a_Attacker->IsSprinting() ? 16 : 11);
- Heading.y = 1.6;
}
TDI.Knockback = Heading * a_KnockbackAmount;