summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-14 02:21:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-14 02:21:30 +0300
commit78afa659472cc4cfca37056088ed9cb9f79845eb (patch)
tree82396c65956514c58fdd696dc71e7400bb6d1379 /src/game.cpp
parentee1fc0b63cb7f27df85c43474497b805df6e31f5 (diff)
downloadmanaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.gz
manaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.bz2
manaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.tar.xz
manaverse-78afa659472cc4cfca37056088ed9cb9f79845eb.zip
Remove default parameters from 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 488651f15..caea1733b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1150,9 +1150,9 @@ void Game::changeMap(const std::string &mapPath)
if (newMusic != oldMusic)
{
if (newMusic.empty())
- soundManager.fadeOutMusic();
+ soundManager.fadeOutMusic(1000);
else
- soundManager.fadeOutAndPlayMusic(newMusic);
+ soundManager.fadeOutAndPlayMusic(newMusic, 1000);
}
if (mCurrentMap != nullptr)