diff options
author | tron <tron@openttd.org> | 2006-03-19 19:55:43 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-19 19:55:43 +0000 |
commit | c357dacc9f42e03ee4dd511dada5c71669e4b94b (patch) | |
tree | 59b65b7b9ce4d7f01aed89c84a2e356e74ea56c6 /water_cmd.c | |
parent | 453a925d727e249638d9d8690206df4c896a97a6 (diff) | |
download | openttd-c357dacc9f42e03ee4dd511dada5c71669e4b94b.tar.xz |
(svn r3987) Fix another bug in r3979 *grumble*
Diffstat (limited to 'water_cmd.c')
-rw-r--r-- | water_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/water_cmd.c b/water_cmd.c index 3213424f6..952ab3145 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -522,7 +522,7 @@ static void TileLoopWaterHelper(TileIndex tile, const TileIndexDiffC *offs) TrackBits tracks; uint slope; - if (!IsPlainRailTile(tile)) break; + if (!IsPlainRailTile(target)) break; tracks = GetTrackBits(target); slope = GetTileSlope(target, NULL); |