CBouncyGrenade: Use explicit SMoverData constructor

This commit is contained in:
Luke Street 2020-03-30 03:14:33 -04:00
parent bc08792523
commit bc1135f0cf
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ CBouncyGrenade::CBouncyGrenade(TUniqueId uid, std::string_view name, const CEnti
TUniqueId parentId, const SBouncyGrenadeData& data, float velocity,
float explodePlayerDistance)
: CPhysicsActor(uid, true, name, info, xf, std::move(mData), {EMaterialTypes::Projectile, EMaterialTypes::Solid}, {},
{data.x0_.x0_mass}, actParams, 0.3f, 0.1f)
SMoverData(data.x0_.x0_mass), actParams, 0.3f, 0.1f)
, x258_data(data)
, x294_numBounces(data.x34_numBounces)
, x298_parentId(parentId)