Mercurial > hg > openttd
changeset 18876:f07039e124aa draft
(svn r23725) -Fix (r23723): compile before commit
author | yexo <yexo@openttd.org> |
---|---|
date | Tue, 03 Jan 2012 00:47:56 +0000 |
parents | b09d72b6f543 |
children | d3e4d378de13 |
files | src/water_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -1167,7 +1167,7 @@ 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);