mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-13 13:25:53 +00:00
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…
x
Reference in New Issue
Block a user