(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed
authortron
Fri, 17 Jun 2005 07:35:10 +0000
changeset 1946 f197fb0d840f
parent 1945 1f05bb06f8f0
child 1947 32308520a356
(svn r2452) Fix defect in r2448 which caused building tracks unexpectedly fail or succeed
rail_cmd.c
--- a/rail_cmd.c	Fri Jun 17 00:46:33 2005 +0000
+++ b/rail_cmd.c	Fri Jun 17 07:35:10 2005 +0000
@@ -95,7 +95,7 @@
 	/* 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) {