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:
@@ -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.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user