diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-24 04:29:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-24 04:29:03 +0300 |
commit | 9ba40776e3b0b00235e821c1157c6b4e0245417d (patch) | |
tree | 1934b95a1c73818d9e6f6d77d04b8daa8ef79e59 /src/soundmanager.h | |
parent | 3e5dbaaa903d4f4ea039902ab83259cb1e11a2f4 (diff) | |
download | manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.gz manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.bz2 manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.xz manaplus-9ba40776e3b0b00235e821c1157c6b4e0245417d.zip |
Fix asserts with missing default music files.
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r-- | src/soundmanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h index 8de7b0dfa..fa30d3aeb 100644 --- a/src/soundmanager.h +++ b/src/soundmanager.h @@ -33,6 +33,8 @@ #endif #include <SDL_mixer.h> +#include "enums/simpletypes/skiperror.h" + #include "listeners/configlistener.h" #include "localconsts.h" @@ -71,7 +73,8 @@ class SoundManager final : public ConfigListener * * @param fileName The name of the music file. */ - void playMusic(const std::string &fileName); + void playMusic(const std::string &fileName, + const SkipError skipError); /** * Stops currently running background music track. |