From f5caf142c00cac85f0b1a148fbb7306b69fb9e75 Mon Sep 17 00:00:00 2001 From: yexo Date: Tue, 3 Jan 2012 00:47:56 +0000 Subject: [PATCH] (svn r23725) -Fix (r23723): compile before commit --- src/water_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 77a8129d10..943de38814 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -1167,7 +1167,7 @@ void TileLoop_Water(TileIndex tile) Slope slope_here = GetFoundationSlope(tile) & ~SLOPE_HALFTILE_MASK & ~SLOPE_STEEP; uint dir; FOR_EACH_SET_BIT(dir, _flood_from_dirs[slope_here]) { - TileIndex dest = tile + TileOffsByDir(dir); + TileIndex dest = tile + TileOffsByDir((Direction)dir); if (!IsValidTile(dest)) continue; FloodingBehaviour dest_behaviour = GetFloodingBehaviour(dest);