From fe20e11e0e40c680a93b987975fd8e2a4ef49b41 Mon Sep 17 00:00:00 2001 From: Kolfering Date: Thu, 26 Sep 2024 14:35:56 +0200 Subject: [PATCH] Remove redundant StopAllSounds calls --- Source_Files/Files/game_wad.cpp | 1 - Source_Files/Misc/interface.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/Source_Files/Files/game_wad.cpp b/Source_Files/Files/game_wad.cpp index 990a7036c..6eaafcc05 100644 --- a/Source_Files/Files/game_wad.cpp +++ b/Source_Files/Files/game_wad.cpp @@ -787,7 +787,6 @@ bool goto_level( leaving_map(); // ghs: hack to get new MML-specified sounds loaded - SoundManager::instance()->StopAllSounds(); SoundManager::instance()->UnloadAllSounds(); } diff --git a/Source_Files/Misc/interface.cpp b/Source_Files/Misc/interface.cpp index 20a129314..ca1581d38 100644 --- a/Source_Files/Misc/interface.cpp +++ b/Source_Files/Misc/interface.cpp @@ -2814,7 +2814,6 @@ static void finish_game( /* Get as much memory back as we can. */ unload_all_collections(); - SoundManager::instance()->StopAllSounds(); SoundManager::instance()->UnloadAllSounds(); #if !defined(DISABLE_NETWORKING)