File diff r8102:c3f2dd9e9116 → r8103:aabc526ce61d
src/track_func.h
Show inline comments
 
@@ -505,13 +505,13 @@ static inline bool IsReversingRoadTrackd
 
}
 

	
 
/**
 
 * Checks whether the given trackdir is a straight road
 
 * @param dir the trackdir to check
 
 * @return true if it is a straight road trackdir
 
 */
 
static inline bool IsStraightRoadTrackdir(Trackdir dir)
 
{
 
	return (dir & 0x06) == 0;
 
}
 

	
 
#endif /* RAIL_H */
 
#endif /* TRACK_FUNC_H */