mirror of https://github.com/AxioDL/metaforce.git
CBomb: Make file-scope material filter constexpr
Allows the data to be placed into the read-only segment.
This commit is contained in:
parent
36ac0a8d78
commit
5b7e440ff7
|
@ -62,7 +62,7 @@ void CBomb::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManag
|
|||
CActor::AcceptScriptMsg(msg, uid, mgr);
|
||||
}
|
||||
|
||||
static CMaterialFilter kSolidFilter =
|
||||
constexpr CMaterialFilter kSolidFilter =
|
||||
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {EMaterialTypes::Character, EMaterialTypes::Player,
|
||||
EMaterialTypes::ProjectilePassthrough});
|
||||
void CBomb::Think(float dt, urde::CStateManager& mgr) {
|
||||
|
|
Loading…
Reference in New Issue