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

@@ -36,7 +36,7 @@ public:
/**
* Goal types that can be given to a goal.
*/
enum GoalType {
enum GoalType : byte {
/* Note: these values represent part of the in-game GoalType enum */
GT_NONE = ::GT_NONE, ///< Destination is not linked.
GT_TILE = ::GT_TILE, ///< Destination is a tile.