mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Runtime/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -25,7 +25,12 @@ static bool IsMediumOrLarge(CActor& act) {
|
||||
}
|
||||
|
||||
CActorModelParticles::CItem::CItem(const CEntity& ent, CActorModelParticles& parent)
|
||||
: x0_id(ent.GetUniqueId()), x4_areaId(ent.GetAreaIdAlways()), xdc_ashy(parent.x48_ashy), x128_parent(parent) {
|
||||
: x0_id(ent.GetUniqueId())
|
||||
, x4_areaId(ent.GetAreaIdAlways())
|
||||
, xdc_ashy(parent.x48_ashy)
|
||||
, x128_parent(parent)
|
||||
, x12c_24_thermalCold(false)
|
||||
, x12c_25_thermalHot(false) {
|
||||
x8_onFireGens.resize(8);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user