mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-18 12:05:24 +00:00
Runtime/Weapon: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -70,7 +70,13 @@ CGunWeapon::CGunWeapon(CAssetId ancsId, EWeaponType type, TUniqueId playerId, EM
|
||||
, x1c8_playerMaterial(playerMaterial)
|
||||
, x200_beamId(GetWeaponIndex(type))
|
||||
, x20c_shaderIdx(u32(x200_beamId))
|
||||
, x214_ancsId(ancsId) {
|
||||
, x214_ancsId(ancsId)
|
||||
, x218_24(false)
|
||||
, x218_25_enableCharge(false)
|
||||
, x218_26_loaded(false)
|
||||
, x218_27_subtypeBasePose(false)
|
||||
, x218_28_suitArmLocked(false)
|
||||
, x218_29_drawHologram(false) {
|
||||
AllocResPools(x200_beamId);
|
||||
BuildDependencyList(x200_beamId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user