Skip to content

Commit

Permalink
Fix SM entry breakup SFX playing globally
Browse files Browse the repository at this point in the history
This will stop the "crash" sounds playing during reentry.
  • Loading branch information
CaptainSwag101 committed Jan 3, 2025
1 parent abe81fa commit 3449200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orbitersdk/samples/ProjectApollo/src_csm/sm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ void SM::clbkPostCreation()

{
soundlib.InitSoundLib(this, SOUND_DIRECTORY);
soundlib.LoadSound(BreakS, CRASH_SOUND);
soundlib.LoadSound(BreakS, CRASH_SOUND, BOTHVIEW_FADED_CLOSE);
}

void SM::clbkSaveState (FILEHANDLE scn)
Expand Down

0 comments on commit 3449200

Please sign in to comment.