src/yapf/yapf_road.cpp
branchnoai
changeset 9722 ebf0ece7d8f6
parent 9694 e72987579514
child 9112 ec6800eaa340
--- a/src/yapf/yapf_road.cpp	Thu Nov 22 23:01:41 2007 +0000
+++ b/src/yapf/yapf_road.cpp	Fri Nov 23 16:59:30 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);