* Get accepted cargo of a house prototype. * @param hs Spec of the house. * @return CargoArray filled with cargo accepted by the house. */
| 856 | * @return CargoArray filled with cargo accepted by the house. |
| 857 | */ |
| 858 | CargoArray GetAcceptedCargoOfHouse(const HouseSpec *hs) |
| 859 | { |
| 860 | CargoTypes always_accepted{}; |
| 861 | CargoArray acceptance{}; |
| 862 | AddAcceptedCargoOfHouse(INVALID_TILE, hs->Index(), hs, nullptr, acceptance, always_accepted); |
| 863 | return acceptance; |
| 864 | } |
| 865 | |
| 866 | static void GetTileDesc_Town(TileIndex tile, TileDesc &td) |
| 867 | { |
no test coverage detected