equal
deleted
inserted
replaced
1572 } |
1572 } |
1573 |
1573 |
1574 for (i = 0; i < OLD_MAP_SIZE; i ++) { |
1574 for (i = 0; i < OLD_MAP_SIZE; i ++) { |
1575 if (IsTileType(i, MP_RAILWAY)) { |
1575 if (IsTileType(i, MP_RAILWAY)) { |
1576 /* We save presignals different from TTDPatch, convert them */ |
1576 /* We save presignals different from TTDPatch, convert them */ |
1577 if ((_m[i].m5 & 0xC0) == 0x40) { |
1577 if (GB(_m[i].m5, 6, 2) == 1) { |
1578 /* This byte is always zero in TTD for this type of tile */ |
1578 /* This byte is always zero in TTD for this type of tile */ |
1579 if (_m[i].m4) /* Convert the presignals to our own format */ |
1579 if (_m[i].m4) /* Convert the presignals to our own format */ |
1580 _m[i].m4 = (_m[i].m4 >> 1) & 7; |
1580 _m[i].m4 = (_m[i].m4 >> 1) & 7; |
1581 } |
1581 } |
1582 /* TTDPatch stores PBS things in L6 and all elsewhere; so we'll just |
1582 /* TTDPatch stores PBS things in L6 and all elsewhere; so we'll just |