forked from mirror/OpenTTD
(svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account.
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
* @param tile Tile of interest
|
||||
* @return the waterclass to be used by the ship.
|
||||
*/
|
||||
static WaterClass GetEffectiveWaterClass(TileIndex tile)
|
||||
WaterClass GetEffectiveWaterClass(TileIndex tile)
|
||||
{
|
||||
if (HasTileWaterClass(tile)) return GetWaterClass(tile);
|
||||
if (IsTileType(tile, MP_TUNNELBRIDGE)) {
|
||||
|
Reference in New Issue
Block a user