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

@@ -40,7 +40,7 @@ public:
/**
* Types of rail known to the game.
*/
enum RailType {
enum RailType : byte {
/* Note: these values represent part of the in-game static values */
RAILTYPE_INVALID = ::INVALID_RAILTYPE, ///< Invalid RailType.
};