summaryrefslogtreecommitdiffstats
path: root/src/Simulator/DelayedFluidSimulator.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-08 17:33:38 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-08 17:33:38 +0100
commit307fad0f257c825c8d433a3e82f2989a8fddd3e0 (patch)
treedf7f820f17893aed860d890b402ca64dd3122b78 /src/Simulator/DelayedFluidSimulator.cpp
parentActually Fixed ByteBuffer (diff)
downloadcuberite-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 'src/Simulator/DelayedFluidSimulator.cpp')
-rw-r--r--src/Simulator/DelayedFluidSimulator.cpp2
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);