diff options
author | rubidium <rubidium@openttd.org> | 2009-07-22 08:59:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-22 08:59:57 +0000 |
commit | 68ead6b84f56ad3c93d05ad3e09b7fbb8173cf26 (patch) | |
tree | ee33bd19b96a138530a84e86e7ffd60c0700f9d9 /src/signal.cpp | |
parent | 2646a99d29535a44c5998f080131cbca2e85bdcf (diff) | |
download | openttd-68ead6b84f56ad3c93d05ad3e09b7fbb8173cf26.tar.xz |
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
Diffstat (limited to 'src/signal.cpp')
-rw-r--r-- | src/signal.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/signal.cpp b/src/signal.cpp index 187227b40..50f459e2c 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -288,14 +288,6 @@ static SigFlags ExploreSegment(Owner owner) } } - if (GetRailTileType(tile) == RAIL_TILE_WAYPOINT) { - if (GetWaypointAxis(tile) != DiagDirToAxis(enterdir)) continue; - if (!(flags & SF_TRAIN) && HasVehicleOnPos(tile, NULL, &TrainOnTileEnum)) flags |= SF_TRAIN; - tile += TileOffsByDiagDir(exitdir); - /* enterdir and exitdir stay the same */ - break; - } - TrackBits tracks = GetTrackBits(tile); // trackbits of tile TrackBits tracks_masked = (TrackBits)(tracks & _enterdir_to_trackbits[enterdir]); // only incidating trackbits |