summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authorJaume Aloy <hircine45@gmail.com>2014-08-19 18:40:42 +0200
committerJaume Aloy <hircine45@gmail.com>2014-08-19 18:40:42 +0200
commit5008eb8c8348ad2664158a8a815ef6851d874367 (patch)
treefa0cff8a0eecfae5e1b86f720b92dc44d673a194 /src/Entities/Entity.cpp
parentFixes (diff)
downloadcuberite-5008eb8c8348ad2664158a8a815ef6851d874367.tar
cuberite-5008eb8c8348ad2664158a8a815ef6851d874367.tar.gz
cuberite-5008eb8c8348ad2664158a8a815ef6851d874367.tar.bz2
cuberite-5008eb8c8348ad2664158a8a815ef6851d874367.tar.lz
cuberite-5008eb8c8348ad2664158a8a815ef6851d874367.tar.xz
cuberite-5008eb8c8348ad2664158a8a815ef6851d874367.tar.zst
cuberite-5008eb8c8348ad2664158a8a815ef6851d874367.zip
Diffstat (limited to 'src/Entities/Entity.cpp')
-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 4316b48e9..54e4cf4f5 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -316,7 +316,6 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI)
// IsOnGround() only is false if the player is moving downwards
// TODO: Better damage increase, and check for enchantments (and use magic critical instead of plain)
- // Thanks to daniel0916
cEnchantments Enchantments = Player->GetEquippedItem().m_Enchantments;
int SharpnessLevel = Enchantments.GetLevel(cEnchantments::enchSharpness);