summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 11:01:26 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 11:01:26 +0200
commit7d0fc85d0079febec4af110c4d6404944d1f3eb0 (patch)
treea2f21d0a5575631c959f5e48652e387e72d8c08b /src/Entities/Entity.h
parentReformatted cItemPotionHandler. (diff)
parentMerge pull request #1193 from mc-server/deathmessages (diff)
downloadcuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar
cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.gz
cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.bz2
cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.lz
cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.xz
cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.zst
cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.zip
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r--src/Entities/Entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 867d87bb7..ea44c2722 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -310,7 +310,7 @@ public:
virtual cItem GetEquippedBoots(void) const { return cItem(); }
/// Called when the health drops below zero. a_Killer may be NULL (environmental damage)
- virtual void KilledBy(cEntity * a_Killer);
+ virtual void KilledBy(TakeDamageInfo & a_TDI);
/// Called when the entity kills another entity
virtual void Killed(cEntity * a_Victim) {}