diff options
author | Mattes D <github@xoft.cz> | 2014-05-08 20:17:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-08 20:17:31 +0200 |
commit | ccf44f18d1258e7b75db36afdc39bc816f7c78fe (patch) | |
tree | 7a5a436db251e032af712374830d394753fccc83 /src/Simulator/DelayedFluidSimulator.cpp | |
parent | cNetherFortGen uses cGridStructGen. (diff) | |
parent | Fixed MSVC 64-bit build warnings. (diff) | |
download | cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.tar cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.tar.gz cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.tar.bz2 cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.tar.lz cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.tar.xz cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.tar.zst cuberite-ccf44f18d1258e7b75db36afdc39bc816f7c78fe.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 bc5158d95..5ff736231 100644 --- a/src/Simulator/DelayedFluidSimulator.cpp +++ b/src/Simulator/DelayedFluidSimulator.cpp @@ -148,7 +148,7 @@ void cDelayedFluidSimulator::SimulateChunk(float a_Dt, int a_ChunkX, int a_Chunk { SimulateBlock(a_Chunk, itr->x, itr->y, itr->z); } - m_TotalBlocks -= Blocks.size(); + m_TotalBlocks -= (int)Blocks.size(); Blocks.clear(); } } |