mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 20:46:08 +00:00
Runtime/MP1/World: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -24,9 +24,15 @@ CWarWasp::CWarWasp(TUniqueId uid, std::string_view name, const CEntityInfo& info
|
||||
, x590_pfSearch(nullptr, 0x3, pInfo.GetPathfindingIndex(), 1.f, 1.f)
|
||||
, x684_(dInfo1)
|
||||
, x6d4_projectileInfo(projectileWeapon, projectileDamage)
|
||||
, x72c_projectileVisorSfx(CSfxManager::TranslateSFXID(projecileVisorSfx)) {
|
||||
x72e_24_jumpBackRepeat = true;
|
||||
x72e_26_initiallyInactive = !pInfo.GetActive();
|
||||
, x72c_projectileVisorSfx(CSfxManager::TranslateSFXID(projecileVisorSfx))
|
||||
, x72e_24_jumpBackRepeat(true)
|
||||
, x72e_25_canApplyDamage(false)
|
||||
, x72e_26_initiallyInactive(!pInfo.GetActive())
|
||||
, x72e_27_teamMatesMelee(false)
|
||||
, x72e_28_inProjectileAttack(false)
|
||||
, x72e_29_pathObstructed(false)
|
||||
, x72e_30_isRetreating(false)
|
||||
, x72e_31_heardNoise(false) {
|
||||
x6d4_projectileInfo.Token().Lock();
|
||||
UpdateTouchBounds();
|
||||
SetCoefficientOfRestitutionModifier(0.1f);
|
||||
|
||||
Reference in New Issue
Block a user