npf.c
changeset 1927 4126e0e3e884
parent 1891 92a3b0aa0946
child 1941 b1cb02c0401c
equal deleted inserted replaced
1926:68d60188a22f 1927:4126e0e3e884
   482 			/* railway track */
   482 			/* railway track */
   483 			type = _map3_lo[tile] & RAILTYPE_MASK;
   483 			type = _map3_lo[tile] & RAILTYPE_MASK;
   484 			break;
   484 			break;
   485 		case MP_STREET:
   485 		case MP_STREET:
   486 			/* rail/road crossing */
   486 			/* rail/road crossing */
   487 			if ((_map5[tile] & 0xF0) == 0x10)
   487 			if (IsLevelCrossing(tile))
   488 				type = _map3_hi[tile] & RAILTYPE_MASK;
   488 				type = _map3_hi[tile] & RAILTYPE_MASK;
   489 			break;
   489 			break;
   490 		case MP_STATION:
   490 		case MP_STATION:
   491 			if (IsTrainStationTile(tile))
   491 			if (IsTrainStationTile(tile))
   492 				type = _map3_lo[tile] & RAILTYPE_MASK;
   492 				type = _map3_lo[tile] & RAILTYPE_MASK;