mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 00:27: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:
@@ -27,10 +27,7 @@ CBomb::CBomb(const TCachedToken<CGenDescription>& particle1, const TCachedToken<
|
||||
CElementGen::EOptionalSystemFlags::One))
|
||||
, x184_particle2(std::make_unique<CElementGen>(particle2, CElementGen::EModelOrientationType::Normal,
|
||||
CElementGen::EOptionalSystemFlags::One))
|
||||
, x18c_particle2Obj(particle2.GetObj())
|
||||
, x190_24_isNotDetonated(true)
|
||||
, x190_25_beingDragged(false)
|
||||
, x190_26_disableFuse(false) {
|
||||
, x18c_particle2Obj(particle2.GetObj()) {
|
||||
x180_particle1->SetGlobalTranslation(xf.origin);
|
||||
x184_particle2->SetGlobalTranslation(xf.origin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user