summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-12-16 19:31:57 +0100
committerLukas Pioch <lukas@zgow.de>2015-12-17 10:48:36 +0100
commitd620dcdd085ddca34f990588aae1c314917a5d32 (patch)
treed589a1e5fb4813e100fd377bae9378c37a619370 /src/Entities/Entity.cpp
parentMerge pull request #2753 from cuberite/pathFix (diff)
downloadcuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.gz
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.bz2
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.lz
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.xz
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.tar.zst
cuberite-d620dcdd085ddca34f990588aae1c314917a5d32.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 4c84df1f4..9f2d39de4 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -513,7 +513,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
RemovedDamage += CeilC(EPFProtection * 0.04 * a_TDI.FinalDamage);
}
- if ((a_TDI.DamageType == dtFalling) || (a_TDI.DamageType == dtFall) || (a_TDI.DamageType == dtEnderPearl))
+ if ((a_TDI.DamageType == dtFalling) || (a_TDI.DamageType == dtEnderPearl))
{
RemovedDamage += CeilC(EPFFeatherFalling * 0.04 * a_TDI.FinalDamage);
}