diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-22 09:28:09 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-04-29 17:40:22 +0100 |
commit | 2e1936da6453265758d6830e5664474a319fd8a7 (patch) | |
tree | 053a147c8c693a7acd00c09cd3449cea6399e468 /src/cargopacket.h | |
parent | 5b34c8019f135afd9f20d043a489ab96f286038a (diff) | |
download | openttd-2e1936da6453265758d6830e5664474a319fd8a7.tar.xz |
Codechange: Remove SourceTypeByte type
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r-- | src/cargopacket.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h index 435432797..0e2a1bc97 100644 --- a/src/cargopacket.h +++ b/src/cargopacket.h @@ -43,13 +43,13 @@ typedef uint32 TileOrStationID; */ struct CargoPacket : CargoPacketPool::PoolItem<&_cargopacket_pool> { private: - Money feeder_share; ///< Value of feeder pickup to be paid for on delivery of cargo. - uint16 count; ///< The amount of cargo in this packet. - byte days_in_transit; ///< Amount of days this packet has been in transit. - SourceTypeByte source_type; ///< Type of \c source_id. - SourceID source_id; ///< Index of source, INVALID_SOURCE if unknown/invalid. - StationID source; ///< The station where the cargo came from first. - TileIndex source_xy; ///< The origin of the cargo (first station in feeder chain). + Money feeder_share; ///< Value of feeder pickup to be paid for on delivery of cargo. + uint16 count; ///< The amount of cargo in this packet. + byte days_in_transit; ///< Amount of days this packet has been in transit. + SourceType source_type; ///< Type of \c source_id. + SourceID source_id; ///< Index of source, INVALID_SOURCE if unknown/invalid. + StationID source; ///< The station where the cargo came from first. + TileIndex source_xy; ///< The origin of the cargo (first station in feeder chain). union { TileOrStationID loaded_at_xy; ///< Location where this cargo has been loaded into the vehicle. TileOrStationID next_station; ///< Station where the cargo wants to go next. |