@@ -47,7 +47,7 @@ void CCarDamageParticles::Play1(CCar* car)
4747{
4848 if (*m_car_damage_particles1)
4949 {
50- BIDS_I i = bones1.begin (), e = bones1.end ();
50+ auto i = bones1.begin (), e = bones1.end ();
5151 for (; e != i; ++i)
5252 car->StartParticles (m_car_damage_particles1, *i, Fvector ().set (0 , 1 , 0 ), car->ID ());
5353 }
@@ -58,20 +58,20 @@ void CCarDamageParticles::Play2(CCar* car)
5858 VERIFY (!physics_world ()->Processing ());
5959 if (*m_car_damage_particles2)
6060 {
61- BIDS_I i = bones2.begin (), e = bones2.end ();
61+ auto i = bones2.begin (), e = bones2.end ();
6262 for (; e != i; ++i)
6363 car->StartParticles (m_car_damage_particles2, *i, Fvector ().set (0 , 1 , 0 ), car->ID ());
6464 }
6565}
6666
67- void CCarDamageParticles::PlayWheel1 (CCar* car, u16 bone_id)
67+ void CCarDamageParticles::PlayWheel1 (CCar* car, u16 bone_id) const
6868{
6969 VERIFY (!physics_world ()->Processing ());
7070 if (*m_wheels_damage_particles1)
7171 car->StartParticles (m_wheels_damage_particles1, bone_id, Fvector ().set (0 , 1 , 0 ), car->ID ());
7272}
7373
74- void CCarDamageParticles::PlayWheel2 (CCar* car, u16 bone_id)
74+ void CCarDamageParticles::PlayWheel2 (CCar* car, u16 bone_id) const
7575{
7676 VERIFY (!physics_world ()->Processing ());
7777 if (*m_wheels_damage_particles2)
0 commit comments