summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-31 20:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-31 20:16:39 +0300
commit35d4ce0ed75b2575067007a85d5c211d292ebada (patch)
treee5749655db88531768635586e52508cefdfd8a5a /src/game.cpp
parent8f52bfee633b4aa2f7e49c1e16428d8f1c03fcfc (diff)
downloadmanaplus-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.gz
manaplus-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.bz2
manaplus-35d4ce0ed75b2575067007a85d5c211d292ebada.tar.xz
manaplus-35d4ce0ed75b2575067007a85d5c211d292ebada.zip
Rename SoundManager sigleton from sound to soundManager.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 1ab3cb10e..7effc2e53 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1069,9 +1069,9 @@ void Game::changeMap(const std::string &mapPath)
if (newMusic != oldMusic)
{
if (newMusic.empty())
- sound.fadeOutMusic();
+ soundManager.fadeOutMusic();
else
- sound.fadeOutAndPlayMusic(newMusic);
+ soundManager.fadeOutAndPlayMusic(newMusic);
}
if (mCurrentMap)