1
0
Fork 0

re-add the missing "s" too cChunkCoordsWithBoolList

This commit is contained in:
LO1ZB 2014-09-03 00:28:08 +02:00
parent a600e3bdfe
commit 554f585017
3 changed files with 6 additions and 6 deletions

View File

@ -404,7 +404,7 @@ public:
}
};
typedef std::list<cChunkCoordsWithBool> cChunkCoordWithBoolList;
typedef std::list<cChunkCoordsWithBool> cChunkCoordsWithBoolList;

View File

@ -105,7 +105,7 @@ void cChunkGenerator::QueueGenerateChunk(int a_ChunkX, int a_ChunkZ, bool a_Forc
cCSLock Lock(m_CS);
// Check if it is already in the queue:
for (cChunkCoordWithBoolList::iterator itr = m_Queue.begin(); itr != m_Queue.end(); ++itr)
for (cChunkCoordsWithBoolList::iterator itr = m_Queue.begin(); itr != m_Queue.end(); ++itr)
{
if ((itr->m_ChunkX == a_ChunkX) && (itr->m_ChunkZ == a_ChunkZ))
{

View File

@ -137,10 +137,10 @@ private:
int m_Seed;
cCriticalSection m_CS;
cChunkCoordWithBoolList m_Queue;
cEvent m_Event; ///< Set when an item is added to the queue or the thread should terminate
cEvent m_evtRemoved; ///< Set when an item is removed from the queue
cCriticalSection m_CS;
cChunkCoordsWithBoolList m_Queue;
cEvent m_Event; ///< Set when an item is added to the queue or the thread should terminate
cEvent m_evtRemoved; ///< Set when an item is removed from the queue
cGenerator * m_Generator; ///< The actual generator engine used to generate chunks