(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile

This commit is contained in:
smatz 2008-01-13 17:55:00 +00:00
parent e281180d06
commit 27e5deb719
1 changed files with 1 additions and 0 deletions

View File

@ -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;