mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile
This commit is contained in:
parent
e281180d06
commit
27e5deb719
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue