Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -19,7 +19,7 @@ using CargoLabel = StrongType::Typedef<uint32_t, struct CargoLabelTag, StrongTyp
|
||||
/**
|
||||
* Cargo slots to indicate a cargo type within a game.
|
||||
*/
|
||||
using CargoID = byte;
|
||||
using CargoID = uint8_t;
|
||||
|
||||
/**
|
||||
* Available types of cargo
|
||||
@@ -134,7 +134,7 @@ struct CargoArray : std::array<uint, NUM_CARGO> {
|
||||
|
||||
|
||||
/** Types of cargo source and destination */
|
||||
enum class SourceType : byte {
|
||||
enum class SourceType : uint8_t {
|
||||
Industry, ///< Source/destination is an industry
|
||||
Town, ///< Source/destination is a town
|
||||
Headquarters, ///< Source/destination are company headquarters
|
||||
|
Reference in New Issue
Block a user