Codechange: Use enum class for command-related enums. (#14775)
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
|
||||
CommandCost CmdCreateSubsidy(DoCommandFlags flags, CargoType cargo_type, Source src, Source dst);
|
||||
|
||||
DEF_CMD_TRAIT(CMD_CREATE_SUBSIDY, CmdCreateSubsidy, CommandFlag::Deity, CMDT_OTHER_MANAGEMENT)
|
||||
DEF_CMD_TRAIT(CMD_CREATE_SUBSIDY, CmdCreateSubsidy, CommandFlag::Deity, CommandType::OtherManagement)
|
||||
|
||||
|
||||
template <typename Tcont, typename Titer>
|
||||
|
||||
Reference in New Issue
Block a user