mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 01:12:39 +01:00
Codechange: Specify underlying type for all enums excluding those exposed to scripts. (#13383)
This commit is contained in:
@@ -625,7 +625,7 @@ DECLARE_ENUM_AS_ADDABLE(SmallMapType)
|
||||
class SmallMapWindow : public Window {
|
||||
protected:
|
||||
/** Available kinds of zoomlevel changes. */
|
||||
enum ZoomLevelChange {
|
||||
enum ZoomLevelChange : uint8_t {
|
||||
ZLC_INITIALIZE, ///< Initialize zoom level.
|
||||
ZLC_ZOOM_OUT, ///< Zoom out.
|
||||
ZLC_ZOOM_IN, ///< Zoom in.
|
||||
|
||||
Reference in New Issue
Block a user