oldloader.c
changeset 3269 95e7bffcb3c5
parent 3251 2c5a8fecc825
child 3342 0de5e6997611
--- a/oldloader.c	Sun Mar 19 13:44:11 2006 +0000
+++ b/oldloader.c	Sun Mar 19 13:48:08 2006 +0000
@@ -1562,7 +1562,7 @@
 	for (i = 0; i < OLD_MAP_SIZE; i ++) {
 		if (IsTileType(i, MP_RAILWAY)) {
 			/* We save presignals different from TTDPatch, convert them */
-			if (GB(_m[i].m5, 6, 2) == 1) {
+			if (GetRailTileType(i) == RAIL_TYPE_SIGNALS) {
 				/* This byte is always zero in TTD for this type of tile */
 				if (_m[i].m4) /* Convert the presignals to our own format */
 					_m[i].m4 = (_m[i].m4 >> 1) & 7;