| 648 | } |
| 649 | |
| 650 | static void AddProducedCargo_Object(TileIndex tile, CargoArray &produced) |
| 651 | { |
| 652 | if (!IsObjectType(tile, OBJECT_HQ)) return; |
| 653 | |
| 654 | CargoType pass = GetCargoTypeByLabel(CT_PASSENGERS); |
| 655 | if (IsValidCargoType(pass)) produced[pass]++; |
| 656 | CargoType mail = GetCargoTypeByLabel(CT_MAIL); |
| 657 | if (IsValidCargoType(mail)) produced[mail]++; |
| 658 | } |
| 659 | |
| 660 | |
| 661 | static void GetTileDesc_Object(TileIndex tile, TileDesc &td) |
nothing calls this directly
no test coverage detected