1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

Codechange: introduce ConvertibleThroughBase helper

This commit is contained in:
Rubidium
2025-02-09 17:25:40 +01:00
committed by rubidium42
parent 380e7b48ce
commit 17b97e5d1b

View File

@@ -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.