Codechange: Make sure script enums are the same size as their normal counterparts

This commit is contained in:
Charles Pigott
2020-06-27 13:59:15 +01:00
parent 887b912af1
commit dc8d0089e9
5 changed files with 7 additions and 7 deletions

View File

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