From 071b574e2c2dbabdf3eb4e109a23e04c76b38b71 Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 27 Apr 2015 21:40:46 +0000 Subject: [PATCH] (svn r27259) -Fix (r27244): Incorrect merge. (_dp_) --- src/town_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 91df84bdb8..642d95919f 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -1331,7 +1331,7 @@ static bool CanFollowRoad(TileIndex tile, DiagDirection dir) /* Check whether a road connection already exists, * and it leads somewhere else. */ RoadBits back_rb = DiagDirToRoadBits(ReverseDiagDir(dir)); - return (target_rb & back_rb) != 0 && (target_rb & back_rb) != back_rb; + return (target_rb & back_rb) != 0 && (target_rb & ~back_rb) != 0; } }