summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-22 12:43:29 +0000
committerrubidium <rubidium@openttd.org>2009-07-22 12:43:29 +0000
commit5f3a097b8605b26b370266cbf03f94ea838d2fb0 (patch)
tree1db81d3450a58204c1a3a15a5456e6885a579c74
parent6e3d999dce18a4766dd4811e4a0d8c4a510d1ecc (diff)
downloadopenttd-5f3a097b8605b26b370266cbf03f94ea838d2fb0.tar.xz
(svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints
-rw-r--r--src/signal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal.cpp b/src/signal.cpp
index 50f459e2c..680036bc6 100644
--- a/src/signal.cpp
+++ b/src/signal.cpp
@@ -343,7 +343,7 @@ static SigFlags ExploreSegment(Owner owner)
}
case MP_STATION:
- if (!IsRailwayStation(tile)) continue;
+ if (!IsRailwayStation(tile) && !IsRailWaypoint(tile)) continue;
if (GetTileOwner(tile) != owner) continue;
if (DiagDirToAxis(enterdir) != GetRailStationAxis(tile)) continue; // different axis
if (IsStationTileBlocked(tile)) continue; // 'eye-candy' station tile