From 83459d0d899786378e8304c92a5b79ddca92c62f Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sun, 7 Feb 2016 19:07:14 +0200 Subject: Proper entity destruction in non-ticking chunks --- src/Chunk.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Chunk.h') diff --git a/src/Chunk.h b/src/Chunk.h index 41bc79746..e1f44b197 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -260,9 +260,6 @@ public: void AddEntity(cEntity * a_Entity); void RemoveEntity(cEntity * a_Entity); - /** RemoveEntity is dangerous if the chunk is inside the tick() method because it invalidates the iterator. - This will safely remove an entity. */ - void SafeRemoveEntity(cEntity * a_Entity); bool HasEntity(UInt32 a_EntityID); /** Calls the callback for each entity; returns true if all entities processed, false if the callback aborted by returning true */ -- cgit v1.2.3