diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-22 22:21:47 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-25 15:51:16 +0200 |
commit | 4519469547c0f8befe74e3e80a94efb0e076ba34 (patch) | |
tree | b2e020631d1fbbfe0225d1c6a6a88dbc6eab124b /src/Entities/Entity.cpp | |
parent | Grass spread: check chunk & light validity correctly (diff) | |
download | cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.tar cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.tar.gz cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.tar.bz2 cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.tar.lz cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.tar.xz cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.tar.zst cuberite-4519469547c0f8befe74e3e80a94efb0e076ba34.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 3674d16c1..34d5bf6e5 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -250,21 +250,6 @@ void cEntity::Destroy() -void cEntity::DestroyNoScheduling(bool a_ShouldBroadcast) -{ - SetIsTicking(false); - if (a_ShouldBroadcast) - { - m_World->BroadcastDestroyEntity(*this); - } - - Destroyed(); -} - - - - - void cEntity::TakeDamage(cEntity & a_Attacker) { int RawDamage = a_Attacker.GetRawDamageAgainst(*this); |