diff --git a/OpenRA.Game/Traits/TraitsInterfaces.cs b/OpenRA.Game/Traits/TraitsInterfaces.cs index 56346096a4..be07eb8eab 100644 --- a/OpenRA.Game/Traits/TraitsInterfaces.cs +++ b/OpenRA.Game/Traits/TraitsInterfaces.cs @@ -22,7 +22,16 @@ namespace OpenRA.Traits { public sealed class RequireExplicitImplementationAttribute : Attribute { } - public enum DamageState { Undamaged, Light, Medium, Heavy, Critical, Dead } + [Flags] + public enum DamageState + { + Undamaged = 1, + Light = 2, + Medium = 4, + Heavy = 8, + Critical = 16, + Dead = 32 + } public interface IHealth {