mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 01:59:19 +02:00
fix another missing sound crash
This commit is contained in:
@@ -3736,7 +3736,7 @@ void TDynamicObject::RenderSounds()
|
||||
}
|
||||
enginevolume = (enginevolume + vol) * 0.5;
|
||||
if( enginevolume < 0.01 ) {
|
||||
rsSilnik->stop();
|
||||
if (rsSilnik) rsSilnik->stop();
|
||||
}
|
||||
if ( (( MoverParameters->EngineType == ElectricSeriesMotor )
|
||||
|| ( MoverParameters->EngineType == ElectricInductionMotor ))
|
||||
|
||||
Reference in New Issue
Block a user