(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
This commit is contained in:
@@ -1211,7 +1211,7 @@ static Trackdir RoadFindPathToDest(Vehicle* v, TileIndex tile, DiagDirection ent
|
||||
}
|
||||
|
||||
/* Only one track to choose between? */
|
||||
if (!(KillFirstBit2x64(trackdirs))) {
|
||||
if (KillFirstBit(trackdirs) != TRACKDIR_BIT_NONE) {
|
||||
return_track(FindFirstBit2x64(trackdirs));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user