Changeset - r492:a7c36acf63a9
[Not reviewed]
master
0 1 0
matthijs - 20 years ago 2004-11-23 17:16:41
matthijs@openttd.org
(svn r778) -Fix: [ 1064742 ] 
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
roadveh_cmd.c
Show inline comments
 
@@ -947,12 +947,15 @@ static int RoadFindPathToDest(Vehicle *v
 
				if (IS_BYTE_INSIDE(val, 0x43, 0x47) && (_patches.roadveh_queue || st->truck_stop_status&3))
 
					bitmask |= _road_veh_fp_ax_or[(val-0x43)&3];
 
			} else {
 
				if (IS_BYTE_INSIDE(val, 0x47, 0x4B) && (_patches.roadveh_queue || st->bus_stop_status&3))
 
					bitmask |= _road_veh_fp_ax_or[(val-0x47)&3];
 
			}
 
		} else {
 
			/* Other people's station. No-go */
 
			bitmask = 0;
 
		}
 
	}
 
	/* The above lookups should be moved to GetTileTrackStatus in the
 
	 * future, but that requires more changes to the pathfinder and other
 
	 * stuff, probably even more arguments to GTTS.
 
	 */
0 comments (0 inline, 0 general)