diff --git a/Runtime/Particle/CColorElement.cpp b/Runtime/Particle/CColorElement.cpp index 0a8c7722d..482312bff 100644 --- a/Runtime/Particle/CColorElement.cpp +++ b/Runtime/Particle/CColorElement.cpp @@ -26,7 +26,7 @@ CCEKeyframeEmitter::CCEKeyframeEmitter(CInputStream& in) { } } -bool CCEKeyframeEmitter::GetValue(int frame, zeus::CColor& valOut) const { +bool CCEKeyframeEmitter::GetValue([[maybe_unused]] int frame, zeus::CColor& valOut) const { if (!x4_percent) { int emitterTime = CParticleGlobals::instance()->m_EmitterTime; int calcKey = emitterTime; @@ -64,7 +64,7 @@ bool CCEConstant::GetValue(int frame, zeus::CColor& valOut) const { return false; } -bool CCEFastConstant::GetValue(int frame, zeus::CColor& valOut) const { +bool CCEFastConstant::GetValue([[maybe_unused]] int frame, zeus::CColor& valOut) const { valOut = x4_val; return false; }