summaryrefslogtreecommitdiff
path: root/src/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal.cpp')
-rw-r--r--src/signal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 680036bc6..97404a2e3 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -343,7 +343,7 @@ static SigFlags ExploreSegment(Owner owner)
}
case MP_STATION:
- if (!IsRailwayStation(tile) && !IsRailWaypoint(tile)) continue;
+ if (!HasStationRail(tile)) continue;
if (GetTileOwner(tile) != owner) continue;
if (DiagDirToAxis(enterdir) != GetRailStationAxis(tile)) continue; // different axis
if (IsStationTileBlocked(tile)) continue; // 'eye-candy' station tile