1
0

Make -Werror disabling file only

Ad fix a load of warnings
This commit is contained in:
tycho
2015-05-19 19:32:10 +01:00
parent 480052c058
commit 77f1f58c0a
63 changed files with 201 additions and 96 deletions

View File

@@ -105,7 +105,7 @@ int cVanillaFluidSimulator::CalculateFlowCost(cChunk * a_Chunk, int a_RelX, int
if (IsPassableForFluid(BlockType) || IsBlockLiquid(BlockType))
{
// Path found, exit
return a_Iteration;
return static_cast<int>(a_Iteration);
}
// 5 blocks away, bail out