CScriptWater: Mark SolidFilter as constexpr

Same behavior, minus runtime initializers.
This commit is contained in:
Lioncash 2020-04-12 11:59:06 -04:00
parent dfa206eda9
commit fa1e4f38df
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ void CScriptWater::SetupGrid(bool recomputeClipping) {
x2e8_28_recomputeClipping = recomputeClipping; x2e8_28_recomputeClipping = recomputeClipping;
} }
static const CMaterialFilter SolidFilter = CMaterialFilter::MakeInclude({EMaterialTypes::Solid}); constexpr CMaterialFilter SolidFilter = CMaterialFilter::MakeInclude({EMaterialTypes::Solid});
void CScriptWater::SetupGridClipping(CStateManager& mgr, int computeVerts) { void CScriptWater::SetupGridClipping(CStateManager& mgr, int computeVerts) {
if (x2e8_28_recomputeClipping) { if (x2e8_28_recomputeClipping) {