Changeset - r19657:03f1768623c5
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-10-13 08:24:28
frosch@openttd.org
(svn r24588) -Codechange: No need to intermingle reservation-checks with railroad checks. (Juanjo)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/pathfinder/follow_track.hpp
Show inline comments
 
@@ -92,7 +92,7 @@ struct CFollowTrackT
 
	inline bool IsTram() { return IsRoadTT() && HasBit(RoadVehicle::From(m_veh)->compatible_roadtypes, ROADTYPE_TRAM); }
 
	inline static bool IsRoadTT() { return TT() == TRANSPORT_ROAD; }
 
	inline static bool Allow90degTurns() { return T90deg_turns_allowed_; }
 
	inline static bool DoTrackMasking() { return IsRailTT() && Tmask_reserved_tracks; }
 
	inline static bool DoTrackMasking() { return Tmask_reserved_tracks; }
 

	
 
	/** Tests if a tile is a road tile with a single tramtrack (tram can reverse) */
 
	inline DiagDirection GetSingleTramBit(TileIndex tile)
0 comments (0 inline, 0 general)