(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed

This commit is contained in:
tron 2005-06-17 07:35:10 +00:00
parent c81de3e1e9
commit 8c6fa13faa

View File

@ -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) {