2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-14 14:45:52 +00:00

CBomb: Correctly initialize x170_prevLocation

This commit is contained in:
Luke Street 2020-07-12 23:24:07 -04:00
parent 3279ebea9a
commit dbd52f8917

View File

@ -22,6 +22,7 @@ CBomb::CBomb(const TCachedToken<CGenDescription>& particle1, const TCachedToken<
{EMaterialTypes::Projectile, EMaterialTypes::Bomb}),
{EMaterialTypes::Projectile, EMaterialTypes::Bomb}, dInfo, EProjectileAttrib::Bombs,
CModelData::CModelDataNull())
, x170_prevLocation(xf.origin)
, x17c_fuseTime(f1)
, x180_particle1(std::make_unique<CElementGen>(particle1, CElementGen::EModelOrientationType::Normal,
CElementGen::EOptionalSystemFlags::One))