Permalink
Browse files

Interface::QuitGame: also stop sound effects

  • Loading branch information...
1 parent 5aa8478 commit 7e4d8ba1bf52c61bf86f59b1a05d4218abaf97a3 @lynxlynxlynx lynxlynxlynx committed May 25, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 gemrb/core/Interface.cpp
View
@@ -3930,6 +3930,7 @@ void Interface::QuitGame(int BackToMain)
if (AudioDriver) {
AmbientMgr *ambim = AudioDriver->GetAmbientMgr();
if (ambim) ambim->deactivate();
+ AudioDriver->Stop(); // also kill sounds
}
//delete game, worldmap
if (game) {

0 comments on commit 7e4d8ba

Please sign in to comment.