summaryrefslogtreecommitdiff
path: root/src/resources/sdlmusic.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-23 21:29:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-23 21:29:47 +0300
commit90132a83c309b5ae0c699e4fbbb7c62656321301 (patch)
tree9bd6bbac6df7cfcd67d30535d30ef1b8bd25ab3f /src/resources/sdlmusic.cpp
parent9c1e1e3c8af21342da1bdf616a800ff373cad433 (diff)
downloadmv-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.gz
mv-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.bz2
mv-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.xz
mv-90132a83c309b5ae0c699e4fbbb7c62656321301.zip
Fix code style.
Diffstat (limited to 'src/resources/sdlmusic.cpp')
-rw-r--r--src/resources/sdlmusic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/sdlmusic.cpp b/src/resources/sdlmusic.cpp
index 4d604c8cb..d3801d453 100644
--- a/src/resources/sdlmusic.cpp
+++ b/src/resources/sdlmusic.cpp
@@ -57,7 +57,8 @@ SDLMusic::~SDLMusic()
#endif // USE_SDL2
}
-bool SDLMusic::play(const int loops, const int fadeIn)
+bool SDLMusic::play(const int loops,
+ const int fadeIn) const
{
if (fadeIn > 0)
return Mix_FadeInMusicPos(mMusic, loops, fadeIn, 0.0) != 0;