diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2020-06-27 13:59:15 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2020-06-27 14:51:14 +0100 |
commit | dc8d0089e95a0fb9a77330fe890f72ac3bb430ea (patch) | |
tree | c3b9d4dc9d2cf6e4a2ba74fff2fbb78c91f15297 /src/script/api/script_company.hpp | |
parent | 887b912af123b5a9bf2339a98e724afe99e6a03d (diff) | |
download | openttd-dc8d0089e95a0fb9a77330fe890f72ac3bb430ea.tar.xz |
Codechange: Make sure script enums are the same size as their normal counterparts
Diffstat (limited to 'src/script/api/script_company.hpp')
-rw-r--r-- | src/script/api/script_company.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_company.hpp b/src/script/api/script_company.hpp index ed1d78f1e..ea2f0cdd1 100644 --- a/src/script/api/script_company.hpp +++ b/src/script/api/script_company.hpp @@ -99,7 +99,7 @@ public: * Types of expenses. * @api -ai */ - enum ExpensesType { + enum ExpensesType : byte { EXPENSES_CONSTRUCTION = ::EXPENSES_CONSTRUCTION, ///< Construction costs. EXPENSES_NEW_VEHICLES = ::EXPENSES_NEW_VEHICLES, ///< New vehicles. EXPENSES_TRAIN_RUN = ::EXPENSES_TRAIN_RUN, ///< Running costs trains. |