mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 18:02:37 +01:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -77,7 +77,7 @@ static inline uint GetInspectWindowNumber(GrfSpecFeature feature, uint index)
|
||||
* The type of a property to show. This is used to
|
||||
* provide an appropriate representation in the GUI.
|
||||
*/
|
||||
enum NIType {
|
||||
enum NIType : uint8_t {
|
||||
NIT_INT, ///< The property is a simple integer
|
||||
NIT_CARGO, ///< The property is a cargo
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user