diff options
author | Alexander Harkness <me@bearbin.net> | 2020-03-31 13:39:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 13:39:23 +0200 |
commit | 9210501af5ab0b91e331e9b4d27ac7fd63888f48 (patch) | |
tree | 776120895f4335b28e3652d65f99dac5f98436e3 /src/Entities | |
parent | Added a /boom command to Debuggers. (#4592) (diff) | |
download | cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.tar cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.tar.gz cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.tar.bz2 cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.tar.lz cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.tar.xz cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.tar.zst cuberite-9210501af5ab0b91e331e9b4d27ac7fd63888f48.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index ecc94efc9..e51984225 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -289,14 +289,10 @@ public: If this returns false, you must stop using the cEntity pointer you have. */ bool IsTicking(void) const; + // tolua_end /** Destroys the entity, schedules it for memory freeing and broadcasts the DestroyEntity packet */ virtual void Destroy(); - - OBSOLETE void Destroy(bool a_ShouldBroadcast) - { - LOGWARNING("cEntity:Destory(bool) is deprecated, use cEntity:Destroy() instead."); - Destroy(); - } + // tolua_begin /** Makes this pawn take damage from an attack by a_Attacker. Damage values are calculated automatically and DoTakeDamage() called */ void TakeDamage(cEntity & a_Attacker); |