mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-03 07:55:52 +00:00
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…
x
Reference in New Issue
Block a user