CScriptSound: Mark kSolidFilter as constexpr

Same behavior minus runtime initializers.
This commit is contained in:
Lioncash 2020-04-12 11:56:35 -04:00
parent 2e575c184e
commit beaccf4f9e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void CScriptSound::PreThink(float dt, CStateManager& mgr) {
x11d_25_processedThisFrame = false; x11d_25_processedThisFrame = false;
} }
static const CMaterialFilter kSolidFilter = constexpr CMaterialFilter kSolidFilter =
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {EMaterialTypes::ProjectilePassthrough}); CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {EMaterialTypes::ProjectilePassthrough});
float CScriptSound::GetOccludedVolumeAmount(const zeus::CVector3f& pos, const CStateManager& mgr) { float CScriptSound::GetOccludedVolumeAmount(const zeus::CVector3f& pos, const CStateManager& mgr) {