mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed
This commit is contained in:
parent
c81de3e1e9
commit
8c6fa13faa
@ -95,7 +95,7 @@ static bool CheckTrackCombination(TileIndex tile, TrackBits to_build, uint flags
|
||||
/* So, we have a tile with tracks on it (and possibly signals). Let's see
|
||||
* what tracks first */
|
||||
current = GetTrackBits(tile);
|
||||
future = current & to_build;
|
||||
future = current | to_build;
|
||||
|
||||
/* Are we really building something new? */
|
||||
if (current == future) {
|
||||
|
Loading…
Reference in New Issue
Block a user