16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 09:59:18 +02:00
This commit is contained in:
milek7
2017-08-18 11:48:13 +02:00
parent ec60853614
commit 6b5084e855
6 changed files with 10 additions and 12 deletions

View File

@@ -6848,10 +6848,6 @@ bool TTrain::InitializeCab(int NewCabNo, std::string const &asFileName)
{
DynamicObject->mdKabina->Init(); // obrócenie modelu oraz optymalizacja, również zapisanie binarnego
set_cab_controls();
// HACK: for some reason simulation at the start is slow until a sound is played
// until we do a proper fix, try to play a 'silent' sound when cab is entered
// TBD: it could be instead a legit sound of door closing
play_sound( dsbSwitch, 0.0f );
return true;
}
return (token == "none");