2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-03 05:15:53 +00:00

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

View File

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