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:
@@ -29,9 +29,7 @@ CActorModelParticles::CItem::CItem(const CEntity& ent, CActorModelParticles& par
|
||||
: x0_id(ent.GetUniqueId())
|
||||
, x4_areaId(ent.GetAreaIdAlways())
|
||||
, xdc_ashy(parent.x48_ashy)
|
||||
, x128_parent(parent)
|
||||
, x12c_24_thermalCold(false)
|
||||
, x12c_25_thermalHot(false) {
|
||||
, x128_parent(parent) {
|
||||
x8_onFireGens.resize(8);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user