diff options
author | dP <dp@dpointer.org> | 2020-05-12 01:36:28 +0300 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-05-13 08:43:01 +0100 |
commit | 7bd52970a1e83cb88069e73e26479eb71bd17726 (patch) | |
tree | 88e6fca4b38b16333dd6f37c7fde50fd4464596d /src/station_gui.cpp | |
parent | 2d5869fc79a1f1f347ab31665148c806d54afcd9 (diff) | |
download | openttd-7bd52970a1e83cb88069e73e26479eb71bd17726.tar.xz |
Codechange: Refactor FindStationsAroundTiles to avoid code duplication
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 764d34748..ef2873f22 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -102,7 +102,7 @@ static void FindStationsAroundSelection() Station *adjacent = nullptr; - /* Direct loop instead of FindStationsAroundTiles as we are not interested in catchment area */ + /* Direct loop instead of ForAllStationsAroundTiles as we are not interested in catchment area */ TILE_AREA_LOOP(tile, ta) { if (IsTileType(tile, MP_STATION) && GetTileOwner(tile) == _local_company) { Station *st = Station::GetByTile(tile); |