CBomb: Correctly initialize x170_prevLocation

This commit is contained in:
Luke Street 2020-07-12 23:24:07 -04:00
parent 3279ebea9a
commit dbd52f8917
1 changed files with 1 additions and 0 deletions

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))