diff options
author | Rorkh <rorkh@internet.ru> | 2021-09-18 10:18:05 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-10-02 22:18:18 +0200 |
commit | 798fdb07092fceaccfde41d2f27e2756f29f4eda (patch) | |
tree | aaa7f6bd1be6a33e08be230bda3166b31a2b57a2 /src/Entities/Entity.h | |
parent | Spectation: add dedicated pathway for spectator mode (#5303) (diff) | |
download | cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.tar cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.tar.gz cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.tar.bz2 cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.tar.lz cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.tar.xz cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.tar.zst cuberite-798fdb07092fceaccfde41d2f27e2756f29f4eda.zip |
Diffstat (limited to 'src/Entities/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 285ae8fac..941d07339 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -351,8 +351,8 @@ public: // tolua_begin - /** Called when the entity kills another entity */ - virtual void Killed(cEntity * a_Victim) {} + /** Called when the entity kills another entity. */ + virtual void Killed(const cEntity & a_Victim, eDamageType a_DamageType) {} /** Heals the specified amount of HPs */ virtual void Heal(int a_HitPoints); |