(svn r11385) -Fix r11383: bool operation can be hard to translate for some people ;) (tnx fjb for noticing this bug ;))

This commit is contained in:
truelight 2007-11-05 17:50:10 +00:00
parent 1626ff3948
commit 9f319318b4
1 changed files with 1 additions and 1 deletions

View File

@ -1211,7 +1211,7 @@ static Trackdir RoadFindPathToDest(Vehicle* v, TileIndex tile, DiagDirection ent
}
/* Only one track to choose between? */
if (KillFirstBit(trackdirs) != TRACKDIR_BIT_NONE) {
if (KillFirstBit(trackdirs) == TRACKDIR_BIT_NONE) {
return_track(FindFirstBit2x64(trackdirs));
}