diff --git a/src/command_type.h b/src/command_type.h index ccc82534f2..0a28bcc794 100644 --- a/src/command_type.h +++ b/src/command_type.h @@ -215,6 +215,7 @@ public: }; CommandCost CommandCostWithParam(StringID str, uint64_t value); +CommandCost CommandCostWithParam(StringID str, ConvertibleThroughBase auto value) { return CommandCostWithParam(str, value.base()); } /** * List of commands.