| 99 | } |
| 100 | |
| 101 | static void FixTTDDepots() |
| 102 | { |
| 103 | for (const Depot *d : Depot::Iterate(252)) { |
| 104 | if (!IsDepotTile(d->xy) || GetDepotIndex(d->xy) != d->index) { |
| 105 | /** Workaround for SVXConverter bug, depots 252-255 could be invalid */ |
| 106 | delete d; |
| 107 | } |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | static uint32_t RemapOldTownName(uint32_t townnameparts, uint8_t old_town_name_type) |
| 112 | { |
no test coverage detected