diff options
Diffstat (limited to '')
-rw-r--r-- | src/ChunkMap.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h index 1b04ae3da..795672135 100644 --- a/src/ChunkMap.h +++ b/src/ChunkMap.h @@ -201,9 +201,8 @@ public: /** Adds the entity to its appropriate chunk, takes ownership of the entity pointer */ void AddEntity(OwnedEntity a_Entity); - /** Adds the entity to its appropriate chunk, if the entity is not already added. - Takes ownership of the entity pointer */ - void AddEntityIfNotPresent(OwnedEntity a_Entity); + /** Adds the player to its appropriate chunk, takes ownership of the player pointer */ + void AddPlayer(std::unique_ptr<cPlayer> a_Player); /** Returns true if the entity with specified ID is present in the chunks */ bool HasEntity(UInt32 a_EntityID) const; |