From 1cf74e76677c467a98b425c87e12b587aa24b66b Mon Sep 17 00:00:00 2001 From: smatz Date: Thu, 19 Jun 2008 20:06:55 +0000 Subject: (svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis --- src/signal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/signal.cpp b/src/signal.cpp index 5347964f4..5d71cd02c 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -298,6 +298,7 @@ static SigFlags ExploreSegment(Owner owner) } if (GetRailTileType(tile) == RAIL_TILE_WAYPOINT) { + if (GetWaypointAxis(tile) != DiagDirToAxis(enterdir)) continue; if (!(flags & SF_TRAIN) && VehicleFromPos(tile, NULL, &TrainOnTileEnum)) flags |= SF_TRAIN; tile += TileOffsByDiagDir(exitdir); /* enterdir and exitdir stay the same */ -- cgit v1.2.3-70-g09d2