mirror of https://github.com/OpenTTD/OpenTTD
Codechange: introduce ConvertibleThroughBase helper
parent
380e7b48ce
commit
17b97e5d1b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue