mirror of https://github.com/AxioDL/metaforce.git
CBallCamera: Mark BallCameraFilter as constexpr
Allows removal of runtime initializers.
This commit is contained in:
parent
4625374a7f
commit
c662634226
|
@ -275,7 +275,7 @@ void CBallCamera::SetState(EBallCameraState state, CStateManager& mgr) {
|
|||
x400_state = state;
|
||||
}
|
||||
|
||||
static const CMaterialFilter BallCameraFilter = CMaterialFilter::MakeIncludeExclude(
|
||||
constexpr CMaterialFilter BallCameraFilter = CMaterialFilter::MakeIncludeExclude(
|
||||
{EMaterialTypes::Solid}, {EMaterialTypes::ProjectilePassthrough, EMaterialTypes::Player, EMaterialTypes::Character,
|
||||
EMaterialTypes::CameraPassthrough});
|
||||
|
||||
|
|
Loading…
Reference in New Issue