s1lentq/ReGameDLL_CS

The engine sound from func_vehicle does not stop

Nord1cWarr1or opened this issue · 0 comments

If you start func_vehicle, the engine sound is activated and looped. It does not stop when you stop the machine manually or when you start a new round.
The CFuncVehicle::UpdateSound() method is called from CFuncVehicle::Find(), which is called in CFuncVehicle::Spawn().
It's probably more logical to do it in CFuncVehicle::Use(), and that should solve the sound problem.