equal
deleted
inserted
replaced
1006 for (tile = 0; tile != MapSize(); tile++) { |
1006 for (tile = 0; tile != MapSize(); tile++) { |
1007 if (IsTileType(tile, MP_STREET)) { |
1007 if (IsTileType(tile, MP_STREET)) { |
1008 if (IsLevelCrossing(tile) && _m[tile].m3 & 0x80) |
1008 if (IsLevelCrossing(tile) && _m[tile].m3 & 0x80) |
1009 _m[tile].m3 = OWNER_TOWN; |
1009 _m[tile].m3 = OWNER_TOWN; |
1010 |
1010 |
1011 if (_m[tile].owner & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1011 if (_m[tile].m1 & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1012 } else if (IsTileType(tile, MP_TUNNELBRIDGE)) { |
1012 } else if (IsTileType(tile, MP_TUNNELBRIDGE)) { |
1013 if (_m[tile].owner & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1013 if (_m[tile].m1 & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1014 } |
1014 } |
1015 } |
1015 } |
1016 } |
1016 } |
1017 |
1017 |
1018 // before savegame version 4, the name of the company determined if it existed |
1018 // before savegame version 4, the name of the company determined if it existed |