Make -Werror disabling file only
Ad fix a load of warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user