CPatterned: Make skDamageColor fully constexpr

This commit is contained in:
Lioncash 2020-05-15 16:51:17 -04:00
parent 7d3b43712d
commit 871d3dc6ec
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,6 @@
namespace urde {
constexpr zeus::CColor CPatterned::skDamageColor(0.5f, 0.f, 0.f);
constexpr CMaterialList skPatternedGroundMaterialList(EMaterialTypes::Character, EMaterialTypes::Solid,
EMaterialTypes::Orbit, EMaterialTypes::GroundCollider,
EMaterialTypes::Target);

View File

@ -31,7 +31,7 @@ using CPatternedTryFunc = void (CPatterned::*)(CStateManager&, int);
class CPatterned : public CAi {
public:
static const zeus::CColor skDamageColor;
static constexpr zeus::CColor skDamageColor{0.5f, 0.f, 0.f};
enum class ECharacter {
AtomicAlpha = 0,
AtomicBeta = 1,