summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2020-03-31 13:39:23 +0200
committerGitHub <noreply@github.com>2020-03-31 13:39:23 +0200
commit9210501af5ab0b91e331e9b4d27ac7fd63888f48 (patch)
tree776120895f4335b28e3652d65f99dac5f98436e3 /src/Entities/Entity.h
parentAdded a /boom command to Debuggers. (#4592) (diff)
downloadcuberite-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.h8
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);