summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-03 10:29:10 +0200
committermadmaxoft <github@xoft.cz>2014-09-03 10:29:10 +0200
commit1cc65b626462ca3e5aff1619e51450b5d33ff717 (patch)
treeea2586d669fbb609b3694aea685a21c3eb93cca8 /src/Entities/Entity.cpp
parentQuick fix for a preprocessor error with clang on OS X (diff)
downloadcuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar
cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.gz
cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.bz2
cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.lz
cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.xz
cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.tar.zst
cuberite-1cc65b626462ca3e5aff1619e51450b5d33ff717.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 89d1cffa1..9bcdcffeb 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -387,7 +387,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
case cMonster::mtGhast:
case cMonster::mtZombiePigman:
case cMonster::mtMagmaCube:
- {
+ {
break;
};
default: StartBurning(BurnTicks * 20);
@@ -417,7 +417,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
}
if (!Player->IsOnGround())
- {
+ {
if ((a_TDI.DamageType == dtAttack) || (a_TDI.DamageType == dtArrowAttack))
{
a_TDI.FinalDamage += 2;