src/yapf/follow_track.hpp
changeset 7928 63e18de69e50
parent 7214 529dee3b770b
child 8083 ad22eade501f
--- a/src/yapf/follow_track.hpp	Mon Nov 19 20:40:14 2007 +0000
+++ b/src/yapf/follow_track.hpp	Mon Nov 19 21:02:30 2007 +0000
@@ -197,7 +197,7 @@
 		// rail transport is possible only on compatible rail types
 		if (IsRailTT()) {
 			RailType rail_type = GetTileRailType(m_new_tile);
-			if (!HASBIT(m_veh->u.rail.compatible_railtypes, rail_type)) {
+			if (!HasBit(m_veh->u.rail.compatible_railtypes, rail_type)) {
 				// incompatible rail type
 				m_err = EC_RAIL_TYPE;
 				return false;