summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2017-07-20 13:54:27 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-07-21 15:42:38 +0200
commit6e749dacd33f71a22fd52bda550ba8e019bf4a34 (patch)
treea06ef33bc01899b39f3b9186e515c073ed564161 /src
parentRemove comment (diff)
downloadcuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.tar
cuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.tar.gz
cuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.tar.bz2
cuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.tar.lz
cuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.tar.xz
cuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.tar.zst
cuberite-6e749dacd33f71a22fd52bda550ba8e019bf4a34.zip
Diffstat (limited to 'src')
-rw-r--r--src/Simulator/FireSimulator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Simulator/FireSimulator.cpp b/src/Simulator/FireSimulator.cpp
index 1b2963bdc..106e73324 100644
--- a/src/Simulator/FireSimulator.cpp
+++ b/src/Simulator/FireSimulator.cpp
@@ -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[]
}