diff --git a/Runtime/Weapon/CEnergyProjectile.cpp b/Runtime/Weapon/CEnergyProjectile.cpp index 23b6e2cee..242624bb3 100644 --- a/Runtime/Weapon/CEnergyProjectile.cpp +++ b/Runtime/Weapon/CEnergyProjectile.cpp @@ -22,15 +22,11 @@ CEnergyProjectile::CEnergyProjectile(bool active, const TToken>& visorParticle, u16 visorSfx, bool sendCollideMsg) -: CGameProjectile(active, desc, "GameProjectile", type, xf, excludeMat, damage, uid, aid, owner, homingTarget, attribs, +: CGameProjectile(active, desc, "GameProjectile"sv, type, xf, excludeMat, damage, uid, aid, owner, homingTarget, attribs, underwater, scale, visorParticle, visorSfx, sendCollideMsg) , x2ec_dir(xf.frontVector()) , x2f8_mag(x2ec_dir.magnitude()) -, x2fc_camShake(CCameraShakeData::BuildProjectileCameraShake(0.5f, 0.75f)) -, x3d0_24_dead(false) -, x3d0_25_(false) -, x3d0_26_(false) -, x3d0_27_camShakeDirty(false) { +, x2fc_camShake(CCameraShakeData::BuildProjectileCameraShake(0.5f, 0.75f)) { xe6_27_thermalVisorFlags = 2; } diff --git a/Runtime/Weapon/CEnergyProjectile.hpp b/Runtime/Weapon/CEnergyProjectile.hpp index 7709c3753..31371aa48 100644 --- a/Runtime/Weapon/CEnergyProjectile.hpp +++ b/Runtime/Weapon/CEnergyProjectile.hpp @@ -10,10 +10,10 @@ class CEnergyProjectile : public CGameProjectile { zeus::CVector3f x2ec_dir; float x2f8_mag; CCameraShakeData x2fc_camShake; - bool x3d0_24_dead : 1; - bool x3d0_25_ : 1; - bool x3d0_26_ : 1; - bool x3d0_27_camShakeDirty : 1; + bool x3d0_24_dead : 1 = false; + bool x3d0_25_ : 1 = false; + bool x3d0_26_ : 1 = false; + bool x3d0_27_camShakeDirty : 1 = false; float x3d4_curTime = 0.f; void StopProjectile(CStateManager& mgr);