summaryrefslogtreecommitdiff
path: root/src/soundmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-24 04:29:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-24 04:29:03 +0300
commit9ba40776e3b0b00235e821c1157c6b4e0245417d (patch)
tree1934b95a1c73818d9e6f6d77d04b8daa8ef79e59 /src/soundmanager.h
parent3e5dbaaa903d4f4ea039902ab83259cb1e11a2f4 (diff)
downloadmv-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.gz
mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.bz2
mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.tar.xz
mv-9ba40776e3b0b00235e821c1157c6b4e0245417d.zip
Fix asserts with missing default music files.
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r--src/soundmanager.h5
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.