mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +01:00
Add: Road waypoint functionality
This commit is contained in:
committed by
rubidium42
parent
c6387c7784
commit
9c84e5df3f
@@ -327,13 +327,15 @@ static uint GetTileCatchmentRadius(TileIndex tile, const Station *st)
|
||||
|
||||
default: NOT_REACHED();
|
||||
case STATION_BUOY:
|
||||
case STATION_WAYPOINT: return CA_NONE;
|
||||
case STATION_WAYPOINT:
|
||||
case STATION_ROADWAYPOINT: return CA_NONE;
|
||||
}
|
||||
} else {
|
||||
switch (GetStationType(tile)) {
|
||||
default: return CA_UNMODIFIED;
|
||||
case STATION_BUOY:
|
||||
case STATION_WAYPOINT: return CA_NONE;
|
||||
case STATION_WAYPOINT:
|
||||
case STATION_ROADWAYPOINT: return CA_NONE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user