(svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) was considered when distributing vehicles.
--- a/src/station.cpp Fri Aug 24 19:49:40 2007 +0000
+++ b/src/station.cpp Sat Aug 25 20:05:58 2007 +0000
@@ -515,7 +515,7 @@
{
for (RoadStop *rs = this->next; rs != NULL; rs = rs->next) {
/* The vehicle cannot go to this roadstop (different roadtype) */
- if ((GetRoadTypes(rs->xy) & v->u.road.compatible_roadtypes) != ROADTYPES_NONE) continue;
+ if ((GetRoadTypes(rs->xy) & v->u.road.compatible_roadtypes) == ROADTYPES_NONE) continue;
/* The vehicle is articulated and can therefor not go the a standard road stop */
if (IsStandardRoadStopTile(rs->xy) && RoadVehHasArticPart(v)) continue;