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:
Lioncash 2020-02-24 20:12:56 -05:00
parent 1d9224f55c
commit c3294977ff
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -4,7 +4,6 @@
namespace urde::MP1 {
class CJellyZap : public CPatterned {
static const CMaterialFilter kPlayerFilter;
u32 x568_ = 0;
CDamageInfo x56c_attackDamage;
float x588_attackRadius;