16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 06:49:19 +02:00

build 171231. cab indicators for released brakes, inactive converter, compressor and main breaker; minor bug fixes

This commit is contained in:
tmj-fstate
2017-12-31 20:47:38 +01:00
parent d0c67eef3b
commit 04398e9fcf
6 changed files with 79 additions and 54 deletions

View File

@@ -4778,8 +4778,6 @@ void TDynamicObject::LoadMMediaFile( std::string BaseDir, std::string TypeName,
// szum podczas jazdy:
m_wheelflat.deserialize( parser, sound_type::single, sound_parameters::frequency );
m_wheelflat.owner( this );
m_wheelflat.m_amplitudefactor /= ( 1 + MoverParameters->Vmax );
}
} while( ( token != "" )
@@ -4942,8 +4940,6 @@ void TDynamicObject::LoadMMediaFile( std::string BaseDir, std::string TypeName,
if( true == m_wheelflat.empty() ) {
m_wheelflat.deserialize( "lomotpodkucia.wav 0.23 0.0", sound_type::single, sound_parameters::frequency );
m_wheelflat.owner( this );
m_wheelflat.m_amplitudefactor /= ( 1 + MoverParameters->Vmax );
}
if( true == rscurve.empty() ) {
// hunter-111211: domyslne, gdy brak