summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-01-03 00:47:56 +0000
committeryexo <yexo@openttd.org>2012-01-03 00:47:56 +0000
commitf5caf142c00cac85f0b1a148fbb7306b69fb9e75 (patch)
tree268a30354665ceff9fe711dde9d3d57e5fa6a2e6 /src
parent5f79b4c5d1eb364e5e8ba6291bb522d45af4c115 (diff)
downloadopenttd-f5caf142c00cac85f0b1a148fbb7306b69fb9e75.tar.xz
(svn r23725) -Fix (r23723): compile before commit
Diffstat (limited to 'src')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 77a8129d1..943de3881 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);