0x0049088B
| 437 | |
| 438 | // 0x0049088B |
| 439 | void zeroUnused() |
| 440 | { |
| 441 | for (auto& station : rawStations()) |
| 442 | { |
| 443 | if (station.empty()) |
| 444 | { |
| 445 | // Zero unused station |
| 446 | station = {}; |
| 447 | } |
| 448 | else |
| 449 | { |
| 450 | // Zero unused station tiles |
| 451 | for (auto i = station.stationTileSize; i < std::size(station.stationTiles); i++) |
| 452 | { |
| 453 | station.stationTiles[i] = {}; |
| 454 | } |
| 455 | } |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | using CargoStations = sfl::static_vector<std::pair<StationId, uint8_t>, 16>; |
| 460 |
no test coverage detected