0x0048F850
| 662 | |
| 663 | // 0x0048F850 |
| 664 | static void removeStationFromCargoStats(const StationId removedStationId) |
| 665 | { |
| 666 | for (auto& station : stations()) |
| 667 | { |
| 668 | for (auto& stats : station.cargoStats) |
| 669 | { |
| 670 | if (stats.origin == removedStationId) |
| 671 | { |
| 672 | stats.origin = StationId::null; |
| 673 | stats.quantity = 0; |
| 674 | Ui::WindowManager::invalidate(Ui::WindowType::station, enumValue(station.id())); |
| 675 | } |
| 676 | } |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | // 0x0048F7D1 |
| 681 | void deallocateStation(const StationId stationId) |
no test coverage detected