summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-09 15:04:12 +0100
committerMattes D <github@xoft.cz>2014-03-09 15:04:12 +0100
commit8a715db41f53dbf0ae838e7386d409fd8274e0ae (patch)
tree0ea2410e2775a93f1a97c2ff92a6c6deca9f55f1 /src/Simulator
parentUpdated Core (diff)
parentFIxed int in test (diff)
downloadcuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.gz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.bz2
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.lz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.xz
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.tar.zst
cuberite-8a715db41f53dbf0ae838e7386d409fd8274e0ae.zip
Diffstat (limited to 'src/Simulator')
-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);