update cmclient to 1.5.2

This commit is contained in:
Pavel Stupnikov
2015-09-01 22:55:46 +03:00
87 changed files with 1446 additions and 847 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: town_cmd.cpp 27105 2015-01-01 21:25:42Z rubidium $ */
/* $Id: town_cmd.cpp 27349 2015-07-30 18:48:25Z frosch $ */
/*
* This file is part of OpenTTD.
@@ -1448,8 +1448,13 @@ static bool CanFollowRoad(TileIndex tile, DiagDirection dir)
case MP_ROAD:
return target_rb != ROAD_NONE;
case MP_HOUSE:
case MP_STATION:
return IsDriveThroughStopTile(target_tile);
case MP_TUNNELBRIDGE:
return GetTunnelBridgeTransportType(target_tile) == TRANSPORT_ROAD;
case MP_HOUSE:
case MP_INDUSTRY:
case MP_OBJECT:
return false;