diff options
author | Mattes D <github@xoft.cz> | 2014-03-09 15:04:12 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-09 15:04:12 +0100 |
commit | 8a715db41f53dbf0ae838e7386d409fd8274e0ae (patch) | |
tree | 0ea2410e2775a93f1a97c2ff92a6c6deca9f55f1 /src/Simulator | |
parent | Updated Core (diff) | |
parent | FIxed int in test (diff) | |
download | cuberite-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.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); |