mirror of https://github.com/AxioDL/metaforce.git
CBomb: Correctly initialize x170_prevLocation
This commit is contained in:
parent
3279ebea9a
commit
dbd52f8917
|
@ -22,6 +22,7 @@ CBomb::CBomb(const TCachedToken<CGenDescription>& particle1, const TCachedToken<
|
||||||
{EMaterialTypes::Projectile, EMaterialTypes::Bomb}),
|
{EMaterialTypes::Projectile, EMaterialTypes::Bomb}),
|
||||||
{EMaterialTypes::Projectile, EMaterialTypes::Bomb}, dInfo, EProjectileAttrib::Bombs,
|
{EMaterialTypes::Projectile, EMaterialTypes::Bomb}, dInfo, EProjectileAttrib::Bombs,
|
||||||
CModelData::CModelDataNull())
|
CModelData::CModelDataNull())
|
||||||
|
, x170_prevLocation(xf.origin)
|
||||||
, x17c_fuseTime(f1)
|
, x17c_fuseTime(f1)
|
||||||
, x180_particle1(std::make_unique<CElementGen>(particle1, CElementGen::EModelOrientationType::Normal,
|
, x180_particle1(std::make_unique<CElementGen>(particle1, CElementGen::EModelOrientationType::Normal,
|
||||||
CElementGen::EOptionalSystemFlags::One))
|
CElementGen::EOptionalSystemFlags::One))
|
||||||
|
|
Loading…
Reference in New Issue