From 9f319318b4c714c80e6d8ebce3d9259d17ed2036 Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 5 Nov 2007 17:50:10 +0000 Subject: [PATCH] (svn r11385) -Fix r11383: bool operation can be hard to translate for some people ;) (tnx fjb for noticing this bug ;)) --- src/roadveh_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index e871276118..0bb6c80c41 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -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)); }