CEyeBall: Move string_view instance to cpp file

Same behavior, but gives the string full internal linkage.
This commit is contained in:
Lioncash 2020-04-12 11:08:18 -04:00
parent bfea80fc4a
commit f5418d30aa
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,8 @@
#include "TCastTo.hpp" // Generated file, do not modify include path
namespace urde::MP1 {
constexpr std::string_view skEyeLocator = "Laser_LCTR"sv;
CEyeball::CEyeball(TUniqueId uid, std::string_view name, CPatterned::EFlavorType flavor, const CEntityInfo& info,
const zeus::CTransform& xf, CModelData&& mData, const CPatternedInfo& pInfo, float attackDelay,
float attackStartTime, CAssetId wpscId, const CDamageInfo& dInfo, CAssetId beamContactFxId,

View File

@ -11,7 +11,6 @@
namespace urde::MP1 {
class CEyeball : public CPatterned {
static constexpr std::string_view skEyeLocator = "Laser_LCTR"sv;
float x568_attackDelay;
float x56c_attackStartTime;
CBoneTracking x570_boneTracking;