mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 17:02:37 +01:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -168,7 +168,7 @@ static int32_t ClickChangeMaxHlCheat(int32_t new_value, int32_t)
|
||||
}
|
||||
|
||||
/** Available cheats. */
|
||||
enum CheatNumbers {
|
||||
enum CheatNumbers : uint8_t {
|
||||
CHT_MONEY, ///< Change amount of money.
|
||||
CHT_CHANGE_COMPANY, ///< Switch company.
|
||||
CHT_EXTRA_DYNAMITE, ///< Dynamite anything.
|
||||
|
||||
Reference in New Issue
Block a user