openttd.c
changeset 1993 7410864cfac8
parent 1981 de031d2aed47
child 2026 02dfa0aa2c2f
--- a/openttd.c	Thu Jun 30 12:42:27 2005 +0000
+++ b/openttd.c	Thu Jun 30 13:24:17 2005 +0000
@@ -1410,5 +1410,14 @@
 		}
 	}
 
+	if (version < 0xF00) {
+		BEGIN_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0) {
+			if (IsTileType(tile, MP_RAILWAY) && HasSignals(tile) && HASBIT(_map3_hi[tile], 2)) {
+				CLRBIT(_map3_hi[tile], 2);
+				SETBIT(_map3_hi[tile], 3);
+			}
+		} END_TILE_LOOP(tile, MapSizeX(), MapSizeY(), 0);
+	}
+
 	return true;
 }