mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Declare enum classes as int8_t
This commit is contained in:
parent
1c552ba9d9
commit
5f7f0ec2ea
@ -998,7 +998,7 @@ namespace Date
|
||||
};
|
||||
}
|
||||
|
||||
enum class EActionType : int32_t
|
||||
enum class EActionType : int8_t
|
||||
{
|
||||
NO_ACTION,
|
||||
|
||||
@ -1380,7 +1380,7 @@ enum class EHealPower : ui8
|
||||
PERMANENT
|
||||
};
|
||||
|
||||
enum class EBattleResult : ui8
|
||||
enum class EBattleResult : int8_t
|
||||
{
|
||||
NORMAL = 0,
|
||||
ESCAPE = 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user