1
0
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:
Ivan Savenko 2023-08-21 17:38:54 +03:00
parent 1c552ba9d9
commit 5f7f0ec2ea

View File

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