mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-25 15:39:09 +00:00
Codefix: EngineNameContext uses enum class naming but wasn't. (#13417)
This could have caused namespace conflicts with its values.
This commit is contained in:
@@ -190,7 +190,7 @@ enum EngineFlags : uint8_t {
|
|||||||
/**
|
/**
|
||||||
* Contexts an engine name can be shown in.
|
* Contexts an engine name can be shown in.
|
||||||
*/
|
*/
|
||||||
enum EngineNameContext : uint8_t {
|
enum class EngineNameContext : uint8_t {
|
||||||
Generic = 0x00, ///< No specific context available.
|
Generic = 0x00, ///< No specific context available.
|
||||||
VehicleDetails = 0x11, ///< Name is shown in the vehicle details GUI.
|
VehicleDetails = 0x11, ///< Name is shown in the vehicle details GUI.
|
||||||
PurchaseList = 0x20, ///< Name is shown in the purchase list (including autoreplace window 'Available vehicles' panel).
|
PurchaseList = 0x20, ///< Name is shown in the purchase list (including autoreplace window 'Available vehicles' panel).
|
||||||
|
Reference in New Issue
Block a user