oldloader.c
changeset 4549 106ed18a7675
parent 4349 1016170ae0cb
child 4845 72bbb6e2694e
equal deleted inserted replaced
4548:6165e12570bf 4549:106ed18a7675
  1517 				/* This byte is always zero in TTD for this type of tile */
  1517 				/* This byte is always zero in TTD for this type of tile */
  1518 				if (_m[i].m4) /* Convert the presignals to our own format */
  1518 				if (_m[i].m4) /* Convert the presignals to our own format */
  1519 					_m[i].m4 = (_m[i].m4 >> 1) & 7;
  1519 					_m[i].m4 = (_m[i].m4 >> 1) & 7;
  1520 			}
  1520 			}
  1521 			/* TTDPatch stores PBS things in L6 and all elsewhere; so we'll just
  1521 			/* TTDPatch stores PBS things in L6 and all elsewhere; so we'll just
  1522 			* clear it for ourselves and let OTTD's rebuild PBS itself */
  1522 			 * clear it for ourselves and let OTTD's rebuild PBS itself */
  1523 			_m[i].m4 &= 0xF; /* Only keep the lower four bits; upper four is PBS */
  1523 			_m[i].m4 &= 0xF; /* Only keep the lower four bits; upper four is PBS */
  1524 		}
  1524 		}
  1525 	}
  1525 	}
  1526 
  1526 
  1527 	/* Fix the game to be compatible with OpenTTD */
  1527 	/* Fix the game to be compatible with OpenTTD */