| 156 | } |
| 157 | |
| 158 | void CCar::SCarSound::Stop() |
| 159 | { |
| 160 | VERIFY(!ph_world->Processing()); |
| 161 | if (eCarSound == sndOff) |
| 162 | return; |
| 163 | SwitchState(sndStoping); |
| 164 | snd_engine.stop_deffered(); |
| 165 | snd_engine_stop.play(pcar); |
| 166 | SetSoundPosition(snd_engine_stop); |
| 167 | } |
| 168 | |
| 169 | void CCar::SCarSound::Drive() |
| 170 | { |
no test coverage detected