mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-28 14:44:28 +01:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
std::string _keyboard_opt[2];
|
||||
static char32_t _keyboard[2][OSK_KEYBOARD_ENTRIES];
|
||||
|
||||
enum KeyStateBits {
|
||||
enum KeyStateBits : uint8_t {
|
||||
KEYS_NONE,
|
||||
KEYS_SHIFT,
|
||||
KEYS_CAPS
|
||||
|
||||
Reference in New Issue
Block a user