Skip to content

Commit

Permalink
Remove redundant StopAllSounds calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolfering committed Sep 26, 2024
1 parent d47c74f commit fe20e11
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Source_Files/Files/game_wad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ bool goto_level(
leaving_map();

// ghs: hack to get new MML-specified sounds loaded
SoundManager::instance()->StopAllSounds();
SoundManager::instance()->UnloadAllSounds();
}

Expand Down
1 change: 0 additions & 1 deletion Source_Files/Misc/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fe20e11

Please sign in to comment.