mirror of https://github.com/AxioDL/metaforce.git
CJellyZap: Make kPlayerFilter constexpr
This can be trivially made constexpr. We can also make this a fully internally linked identifier.
This commit is contained in:
parent
1d9224f55c
commit
c3294977ff
|
@ -6,7 +6,7 @@
|
|||
#include "TCastTo.hpp" // Generated file, do not modify include path
|
||||
|
||||
namespace urde::MP1 {
|
||||
const CMaterialFilter CJellyZap::kPlayerFilter = CMaterialFilter::MakeInclude({EMaterialTypes::Player});
|
||||
constexpr CMaterialFilter kPlayerFilter = CMaterialFilter::MakeInclude({EMaterialTypes::Player});
|
||||
|
||||
CJellyZap::CJellyZap(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
|
||||
CModelData&& mData, const CDamageInfo& dInfo, bool b1, float f1, float f2, float f3, float f4,
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
namespace urde::MP1 {
|
||||
class CJellyZap : public CPatterned {
|
||||
static const CMaterialFilter kPlayerFilter;
|
||||
u32 x568_ = 0;
|
||||
CDamageInfo x56c_attackDamage;
|
||||
float x588_attackRadius;
|
||||
|
|
Loading…
Reference in New Issue