Codechange: Use enum class for command-related enums. (#14775)
This commit is contained in:
+1
-1
@@ -14,6 +14,6 @@
|
||||
|
||||
CommandCost CmdPlantTree(DoCommandFlags flags, TileIndex tile, TileIndex start_tile, uint8_t tree_to_plant, bool diagonal);
|
||||
|
||||
DEF_CMD_TRAIT(CMD_PLANT_TREE, CmdPlantTree, CommandFlag::Auto, CMDT_LANDSCAPE_CONSTRUCTION)
|
||||
DEF_CMD_TRAIT(CMD_PLANT_TREE, CmdPlantTree, CommandFlag::Auto, CommandType::LandscapeConstruction)
|
||||
|
||||
#endif /* TREE_CMD_H */
|
||||
|
||||
Reference in New Issue
Block a user