Increment fire block iterator
* Resolves potential deadlock
This commit is contained in:
parent
7c687b77ee
commit
6e749dacd3
@ -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[]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user