diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-08 17:33:38 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-08 17:33:38 +0100 |
commit | 307fad0f257c825c8d433a3e82f2989a8fddd3e0 (patch) | |
tree | df7f820f17893aed860d890b402ca64dd3122b78 /src/Simulator/DelayedFluidSimulator.cpp | |
parent | Actually Fixed ByteBuffer (diff) | |
download | cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.gz cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.bz2 cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.lz cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.xz cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.tar.zst cuberite-307fad0f257c825c8d433a3e82f2989a8fddd3e0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/DelayedFluidSimulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/DelayedFluidSimulator.cpp b/src/Simulator/DelayedFluidSimulator.cpp index 3d2170e44..bc5158d95 100644 --- a/src/Simulator/DelayedFluidSimulator.cpp +++ b/src/Simulator/DelayedFluidSimulator.cpp @@ -20,7 +20,7 @@ bool cDelayedFluidSimulatorChunkData::cSlot::Add(int a_RelX, int a_RelY, int a_RelZ) { ASSERT(a_RelZ >= 0); - ASSERT(a_RelZ < ARRAYCOUNT(m_Blocks)); + ASSERT(a_RelZ < static_cast<int>(ARRAYCOUNT(m_Blocks))); cCoordWithIntVector & Blocks = m_Blocks[a_RelZ]; int Index = cChunkDef::MakeIndexNoCheck(a_RelX, a_RelY, a_RelZ); |