equal
deleted
inserted
replaced
1183 { |
1183 { |
1184 uint tile; |
1184 uint tile; |
1185 |
1185 |
1186 for (tile = 0; tile != MapSize(); tile++) { |
1186 for (tile = 0; tile != MapSize(); tile++) { |
1187 if (IsTileType(tile, MP_STREET)) { |
1187 if (IsTileType(tile, MP_STREET)) { |
1188 if ((_map5[tile] & 0xF0) == 0x10 && _map3_lo[tile] & 0x80) |
1188 if (IsLevelCrossing(tile) && _map3_lo[tile] & 0x80) |
1189 _map3_lo[tile] = OWNER_TOWN; |
1189 _map3_lo[tile] = OWNER_TOWN; |
1190 |
1190 |
1191 if (_map_owner[tile] & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1191 if (_map_owner[tile] & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1192 } else if (IsTileType(tile, MP_TUNNELBRIDGE)) { |
1192 } else if (IsTileType(tile, MP_TUNNELBRIDGE)) { |
1193 if (_map_owner[tile] & 0x80) SetTileOwner(tile, OWNER_TOWN); |
1193 if (_map_owner[tile] & 0x80) SetTileOwner(tile, OWNER_TOWN); |