mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #261 from lioncash/const7
CBomb: Make file-scope material filter constexpr
This commit is contained in:
commit
1c841d10f8
|
@ -62,7 +62,7 @@ void CBomb::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManag
|
||||||
CActor::AcceptScriptMsg(msg, uid, mgr);
|
CActor::AcceptScriptMsg(msg, uid, mgr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static CMaterialFilter kSolidFilter =
|
constexpr CMaterialFilter kSolidFilter =
|
||||||
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {EMaterialTypes::Character, EMaterialTypes::Player,
|
CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {EMaterialTypes::Character, EMaterialTypes::Player,
|
||||||
EMaterialTypes::ProjectilePassthrough});
|
EMaterialTypes::ProjectilePassthrough});
|
||||||
void CBomb::Think(float dt, urde::CStateManager& mgr) {
|
void CBomb::Think(float dt, urde::CStateManager& mgr) {
|
||||||
|
|
Loading…
Reference in New Issue