mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers where applicable.
This commit is contained in:
@@ -28,14 +28,6 @@ CScriptDebris::CScriptDebris(TUniqueId uid, std::string_view name, const CEntity
|
||||
, x27c_restitution(restitution)
|
||||
, x280_scaleType(scaleType)
|
||||
, x281_24_randomAngImpulse(randomAngImpulse)
|
||||
, x281_25_particle1GlobalTranslation(false)
|
||||
, x281_26_deferDeleteTillParticle1Done(false)
|
||||
, x281_27_particle2GlobalTranslation(false)
|
||||
, x281_28_deferDeleteTillParticle2Done(false)
|
||||
, x281_29_particle3Active(false)
|
||||
, x281_30_debrisExtended(false)
|
||||
, x281_31_dieOnProjectile(false)
|
||||
, x282_24_noBounce(false)
|
||||
, x2b0_scale(mData.GetScale())
|
||||
, x2e0_speedAvg(2.f) {
|
||||
if (scaleType == EScaleType::NoScale)
|
||||
|
||||
Reference in New Issue
Block a user