1
0
Fork 0

Increment fire block iterator

* Resolves potential deadlock
This commit is contained in:
Tiger Wang 2017-07-20 12:54:27 +01:00 committed by Tiger Wang
parent 7c687b77ee
commit 6e749dacd3
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ void cFireSimulator::SimulateChunk(std::chrono::milliseconds a_Dt, int a_ChunkX,
a_Chunk->SetMeta(x, y, z, BlockMeta + 1);
}
itr->Data = GetBurnStepTime(a_Chunk, itr->x, itr->y, itr->z); // TODO: Add some randomness into this
++itr;
} // for itr - Data[]
}