CPathCamera: Mark kLineOfSightFilter as constexpr

Same behavior, minus any potential runtime initializers.
This commit is contained in:
Lioncash 2020-04-12 10:21:32 -04:00
parent 535c02abe8
commit 5fc0802373
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ void CPathCamera::ProcessInput(const CFinalInput&, CStateManager& mgr) {
// Empty
}
static const CMaterialFilter kLineOfSightFilter =
constexpr CMaterialFilter kLineOfSightFilter =
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {EMaterialTypes::ProjectilePassthrough});
void CPathCamera::Reset(const zeus::CTransform&, CStateManager& mgr) {