1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-20 10:52:41 +01:00

Codechange: [Script] Specify underlying type for ScriptList::SorterType (#14942)

This commit is contained in:
Loïc Guilloux
2025-12-20 17:01:39 +01:00
committed by GitHub
parent 67d9daed47
commit fd7f6fcf91

View File

@@ -25,7 +25,7 @@ class ScriptListSorter;
class ScriptList : public ScriptObject {
public:
/** Type of sorter */
enum SorterType {
enum SorterType : uint8_t {
SORT_BY_VALUE, ///< Sort the list based on the value of the item.
SORT_BY_ITEM, ///< Sort the list based on the item itself.
};