diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-16 21:33:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-16 21:33:37 +0300 |
commit | 54e733a59cdcb8c0682587122a958e19669c87a3 (patch) | |
tree | c4c12b8ed90eecf4f9fdc1abcee358dad07979a3 /src/progs/manaplus/client.cpp | |
parent | 4c1c26149c2e459867567b74a5fc9a0a1231f306 (diff) | |
download | plus-54e733a59cdcb8c0682587122a958e19669c87a3.tar.gz plus-54e733a59cdcb8c0682587122a958e19669c87a3.tar.bz2 plus-54e733a59cdcb8c0682587122a958e19669c87a3.tar.xz plus-54e733a59cdcb8c0682587122a958e19669c87a3.zip |
Restore old way for music termination on exit.v1.7.9.16
Diffstat (limited to 'src/progs/manaplus/client.cpp')
-rw-r--r-- | src/progs/manaplus/client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp index c008cc6af..4cf9923ee 100644 --- a/src/progs/manaplus/client.cpp +++ b/src/progs/manaplus/client.cpp @@ -691,7 +691,8 @@ void Client::gameClear() BeingInfo::clear(); - soundManager.shutdown(); + // Shutdown sound + soundManager.close(); if (logger != nullptr) logger->log1("Quitting6"); @@ -700,8 +701,7 @@ void Client::gameClear() ResourceManager::deleteInstance(); - // Shutdown sound - soundManager.close(); + soundManager.shutdown(); if (logger != nullptr) logger->log1("Quitting8"); |