src/yapf/yapf_road.cpp
changeset 7833 ba402b153b79
parent 7370 41adc721b1fa
child 8616 fd862a55c47f
--- a/src/yapf/yapf_road.cpp	Sun Nov 04 22:47:34 2007 +0000
+++ b/src/yapf/yapf_road.cpp	Sun Nov 04 23:06:39 2007 +0000
@@ -97,7 +97,7 @@
 			if (!F.Follow(tile, trackdir)) break;
 
 			// if there are more trackdirs available & reachable, we are at the end of segment
-			if (KillFirstBit2x64(F.m_new_td_bits) != 0) break;
+			if (KillFirstBit(F.m_new_td_bits) != TRACKDIR_BIT_NONE) break;
 
 			Trackdir new_td = (Trackdir)FindFirstBit2x64(F.m_new_td_bits);