File diff r7565:f5decc6a8e97 → r7566:5eab45f22b6a
src/road.h
Show inline comments
 
@@ -123,13 +123,13 @@ static inline RoadBits ComplementRoadBit
 
 *
 
 * @param d The DiagDirection
 
 * @return The result RoadBits which the selected road-part set
 
 */
 
static inline RoadBits DiagDirToRoadBits(DiagDirection d)
 
{
 
	return (RoadBits)(1U << (3 ^ d));
 
	return (RoadBits)(ROAD_NW << (3 ^ d));
 
}
 

	
 
/**
 
 * Checks whether the trackdir means that we are reversing.
 
 * @param dir the trackdir to check
 
 * @return true if it is a reversing road trackdir