diff options
author | smatz <smatz@openttd.org> | 2008-01-13 17:55:00 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-13 17:55:00 +0000 |
commit | 27e5deb719f91bc26e8bf39a11acff6367062417 (patch) | |
tree | 0fbd095f903efbbe1980041fcf08055908b9e952 /src | |
parent | e281180d06d7ed527d0f40259d072e476cc51790 (diff) | |
download | openttd-27e5deb719f91bc26e8bf39a11acff6367062417.tar.xz |
(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile
Diffstat (limited to 'src')
-rw-r--r-- | src/water_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 45d6f514c..119432abe 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -393,6 +393,7 @@ static bool IsWateredTile(TileIndex tile) return false; } + case MP_RAILWAY: return GetRailGroundType(tile) == RAIL_GROUND_WATER; case MP_STATION: return IsOilRig(tile) || IsDock(tile) || IsBuoy(tile); case MP_INDUSTRY: return (GetIndustrySpec(GetIndustryType(tile))->behaviour & INDUSTRYBEH_BUILT_ONWATER) != 0; default: return false; |