summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ChunkDef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index 11a03a26e..69eafd18c 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -28,7 +28,8 @@ class cEntity;
class cClientHandle;
class cBlockEntity;
-typedef std::list<cEntity *> cEntityList;
+typedef std::unique_ptr<cEntity> OwnedEntity;
+typedef std::vector<OwnedEntity> cEntityList;
typedef std::map<int, cBlockEntity *> cBlockEntities;