diff options
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index fddc3a546..171c48205 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -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) { |