Removed an unused member variable from cChunk.
This commit is contained in:
parent
0aa8f765f9
commit
31d15f8654
@ -562,13 +562,6 @@ void cChunk::Tick(float a_Dt)
|
|||||||
{
|
{
|
||||||
BroadcastPendingBlockChanges();
|
BroadcastPendingBlockChanges();
|
||||||
|
|
||||||
// Unload the chunk from all clients that have queued unloading:
|
|
||||||
for (cClientHandleList::iterator itr = m_UnloadQuery.begin(), end = m_UnloadQuery.end(); itr != end; ++itr)
|
|
||||||
{
|
|
||||||
(*itr)->SendUnloadChunk(m_PosX, m_PosZ);
|
|
||||||
}
|
|
||||||
m_UnloadQuery.clear();
|
|
||||||
|
|
||||||
// Set all blocks that have been queued for setting later:
|
// Set all blocks that have been queued for setting later:
|
||||||
ProcessQueuedSetBlocks();
|
ProcessQueuedSetBlocks();
|
||||||
|
|
||||||
|
@ -405,7 +405,6 @@ private:
|
|||||||
|
|
||||||
// A critical section is not needed, because all chunk access is protected by its parent ChunkMap's csLayers
|
// A critical section is not needed, because all chunk access is protected by its parent ChunkMap's csLayers
|
||||||
cClientHandleList m_LoadedByClient;
|
cClientHandleList m_LoadedByClient;
|
||||||
cClientHandleList m_UnloadQuery;
|
|
||||||
cEntityList m_Entities;
|
cEntityList m_Entities;
|
||||||
cBlockEntityList m_BlockEntities;
|
cBlockEntityList m_BlockEntities;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user