CBallCamera: Mark BallCameraFilter as constexpr

Allows removal of runtime initializers.
This commit is contained in:
Lioncash 2020-04-12 10:19:09 -04:00
parent 4625374a7f
commit c662634226
1 changed files with 1 additions and 1 deletions

View File

@ -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});