mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ class BuildTreesWindow : public Window
|
||||
/** Visual Y offset of tree root from the bottom of the tree type buttons */
|
||||
static const int BUTTON_BOTTOM_OFFSET = 7;
|
||||
|
||||
enum PlantingMode {
|
||||
enum PlantingMode : uint8_t {
|
||||
PM_NORMAL,
|
||||
PM_FOREST_SM,
|
||||
PM_FOREST_LG,
|
||||
|
||||
Reference in New Issue
Block a user