Use new highlight for single station coverage
This commit is contained in:
@@ -1033,11 +1033,12 @@ const Town *_viewport_highlight_town; ///< Currently selected town for cov
|
||||
*/
|
||||
static TileHighlightType GetTileHighlightType(TileIndex t)
|
||||
{
|
||||
#if 0 // taken over by citymania highlight
|
||||
if (_viewport_highlight_station != nullptr) {
|
||||
if (IsTileType(t, MP_STATION) && GetStationIndex(t) == _viewport_highlight_station->index) return THT_WHITE;
|
||||
if (_viewport_highlight_station->TileIsInCatchment(t)) return THT_BLUE;
|
||||
}
|
||||
|
||||
#endif
|
||||
if (_viewport_highlight_town != nullptr) {
|
||||
if (IsTileType(t, MP_HOUSE)) {
|
||||
if (GetTownIndex(t) == _viewport_highlight_town->index) {
|
||||
|
||||
Reference in New Issue
Block a user