mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r27259) -Fix (r27244): Incorrect merge. (_dp_)
This commit is contained in:
parent
108aa4e7af
commit
071b574e2c
@ -1331,7 +1331,7 @@ static bool CanFollowRoad(TileIndex tile, DiagDirection dir)
|
|||||||
/* Check whether a road connection already exists,
|
/* Check whether a road connection already exists,
|
||||||
* and it leads somewhere else. */
|
* and it leads somewhere else. */
|
||||||
RoadBits back_rb = DiagDirToRoadBits(ReverseDiagDir(dir));
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user