mirror of https://github.com/AxioDL/metaforce.git
CScriptSound: Mark kSolidFilter as constexpr
Same behavior minus runtime initializers.
This commit is contained in:
parent
2e575c184e
commit
beaccf4f9e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue