From 78afa659472cc4cfca37056088ed9cb9f79845eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Dec 2017 02:21:30 +0300 Subject: Remove default parameters from soundmanager. --- src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game.cpp') 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) -- cgit v1.2.3-70-g09d2