MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Play2

Method Play2

ogsr_engine/xrGame/CarDamageParticles.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void CCarDamageParticles::Play2(CCar* car)
57{
58 VERIFY(!ph_world->Processing());
59 if (*m_car_damage_particles2)
60 {
61 BIDS_I i = bones2.begin(), e = bones2.end();
62 for (; e != i; ++i)
63 car->StartParticles(m_car_damage_particles2, *i, Fvector().set(0, 1, 0), car->ID());
64 }
65}
66
67void CCarDamageParticles::PlayWheel1(CCar* car, u16 bone_id)
68{

Callers 1

ApplyDamageMethod · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
StartParticlesMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected