diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-29 22:34:21 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-29 22:34:21 +0200 |
commit | f84e8054534972246e223bf20fac25204849dab6 (patch) | |
tree | a5aafb9715d5dd50c0a63d9b873c582531ca7545 /src/Entities | |
parent | Unused/duplicate function cleanup (diff) | |
download | cuberite-f84e8054534972246e223bf20fac25204849dab6.tar cuberite-f84e8054534972246e223bf20fac25204849dab6.tar.gz cuberite-f84e8054534972246e223bf20fac25204849dab6.tar.bz2 cuberite-f84e8054534972246e223bf20fac25204849dab6.tar.lz cuberite-f84e8054534972246e223bf20fac25204849dab6.tar.xz cuberite-f84e8054534972246e223bf20fac25204849dab6.tar.zst cuberite-f84e8054534972246e223bf20fac25204849dab6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index b8d17aaa3..f15a01d04 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -82,11 +82,6 @@ cEntity::cEntity(eEntityType a_EntityType, Vector3d a_Pos, double a_Width, doubl cEntity::~cEntity() { - - // Before deleting, the entity needs to have been removed from the world, if ever added - ASSERT((m_World == nullptr) || !m_World->HasEntity(m_UniqueID)); - ASSERT(!IsTicking()); - /* // DEBUG: FLOGD("Deleting entity {0} at pos {1:.2f} ~ [{2}, {3}]; ptr {4}", |