Fixed MSVC 64-bit build warnings.

This commit is contained in:
Mattes D
2014-05-09 18:32:03 +02:00
parent 17c7c31130
commit fb58ef55be
47 changed files with 178 additions and 161 deletions
+1 -1
View File
@@ -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();
}
}
+1 -1
View File
@@ -64,7 +64,7 @@ void cSandSimulator::SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChun
a_Chunk->SetBlock(itr->x, itr->y, itr->z, E_BLOCK_AIR, 0);
}
}
m_TotalBlocks -= ChunkData.size();
m_TotalBlocks -= (int)ChunkData.size();
ChunkData.clear();
}