branch | NewGRF_ports |
changeset 6871 | 5a9dc001e1ad |
parent 6743 | cabfaa4a0295 |
child 6878 | 7d1ff2f621c7 |
--- a/src/yapf/yapf_road.cpp Sat Oct 06 21:16:00 2007 +0000 +++ b/src/yapf/yapf_road.cpp Mon Dec 03 23:39:38 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);