(svn r27259) -Fix (r27244): Incorrect merge. (_dp_)

This commit is contained in:
frosch 2015-04-27 21:40:46 +00:00
parent eb25d9e275
commit 5992f4fa1b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}