CBouncyGrenade: Pass bounding box to CPhysicsActor

This commit is contained in:
Luke Street 2020-04-01 01:38:48 -04:00
parent deba91bfc0
commit 6e5c32abfd
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ CBouncyGrenade::CBouncyGrenade(TUniqueId uid, std::string_view name, const CEnti
const zeus::CTransform& xf, CModelData&& mData, const CActorParameters& actParams, const zeus::CTransform& xf, CModelData&& mData, const CActorParameters& actParams,
TUniqueId parentId, const SBouncyGrenadeData& data, float velocity, TUniqueId parentId, const SBouncyGrenadeData& data, float velocity,
float explodePlayerDistance) float explodePlayerDistance)
: CPhysicsActor(uid, true, name, info, xf, std::move(mData), {EMaterialTypes::Projectile, EMaterialTypes::Solid}, {}, : CPhysicsActor(uid, true, name, info, xf, std::move(mData), {EMaterialTypes::Projectile, EMaterialTypes::Solid},
SMoverData(data.GetUnkStruct().GetMass()), actParams, 0.3f, 0.1f) mData.GetBounds(), SMoverData(data.GetUnkStruct().GetMass()), actParams, 0.3f, 0.1f)
, x258_data(data) , x258_data(data)
, x294_numBounces(data.GetNumBounces()) , x294_numBounces(data.GetNumBounces())
, x298_parentId(parentId) , x298_parentId(parentId)