mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-17 23:25:24 +00:00
Runtime/Weapon: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -33,10 +33,8 @@ CFlameThrower::CFlameThrower(const TToken<CWeaponDescription>& wDesc, std::strin
|
||||
, x3fc_playerIceTxtr(playerIceTxtr)
|
||||
, x400_24_active(false)
|
||||
, x400_25_particlesActive(false)
|
||||
, x400_26_(!(flameInfo.GetAttributes() & 1))
|
||||
, x400_27_coneCollision((flameInfo.GetAttributes() & 0x2) != 0) {
|
||||
|
||||
}
|
||||
, x400_26_((flameInfo.GetAttributes() & 1) == 0)
|
||||
, x400_27_coneCollision((flameInfo.GetAttributes() & 0x2) != 0) {}
|
||||
|
||||
void CFlameThrower::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user