From 8c6fa13faacda3a5bb154af747aa4008d3f1d867 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 17 Jun 2005 07:35:10 +0000 Subject: (svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed --- rail_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rail_cmd.c') 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) { -- cgit v1.2.3-54-g00ecf