From b935a747829c1bc2255cb3a1a0c91d91d0b5a380 Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 4 Nov 2007 23:06:39 +0000 Subject: (svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13) --- src/yapf/yapf_road.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yapf/yapf_road.cpp') diff --git a/src/yapf/yapf_road.cpp b/src/yapf/yapf_road.cpp index 99bde7fdb..e07b48d60 100644 --- a/src/yapf/yapf_road.cpp +++ b/src/yapf/yapf_road.cpp @@ -97,7 +97,7 @@ public: 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); -- cgit v1.2.3-54-g00ecf