From 8a890cf945cfbd72f6e4b64f8c7b52d2c6ca099e Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Mon, 22 May 2017 21:27:55 +0100 Subject: Store cChunk::m_BlockEntities in a map (#3717) * Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt --- src/ChunkDef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ChunkDef.h') diff --git a/src/ChunkDef.h b/src/ChunkDef.h index b3cf9049f..41ba44417 100644 --- a/src/ChunkDef.h +++ b/src/ChunkDef.h @@ -31,8 +31,8 @@ class cEntity; class cClientHandle; class cBlockEntity; -typedef std::list cEntityList; -typedef std::list cBlockEntityList; +typedef std::list cEntityList; +typedef std::map cBlockEntities; -- cgit v1.2.3