summaryrefslogtreecommitdiff
path: root/src/resources/soundeffect.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 02:09:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 02:09:36 +0300
commit890349c3d1ad29ff668a3ef7fd7c535ed9a876ef (patch)
tree343a3e21c2ded430d912b9b124d6239933ff3d25 /src/resources/soundeffect.cpp
parent39b61e709ca41804af30410f4a82a99f34900a29 (diff)
downloadmanaplus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.tar.gz
manaplus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.tar.bz2
manaplus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.tar.xz
manaplus-890349c3d1ad29ff668a3ef7fd7c535ed9a876ef.zip
improve soundmanager class.
Diffstat (limited to 'src/resources/soundeffect.cpp')
-rw-r--r--src/resources/soundeffect.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/soundeffect.cpp b/src/resources/soundeffect.cpp
index 48772291b..2da3319e8 100644
--- a/src/resources/soundeffect.cpp
+++ b/src/resources/soundeffect.cpp
@@ -49,7 +49,8 @@ Resource *SoundEffect::load(SDL_RWops *const rw)
}
}
-bool SoundEffect::play(const int loops, const int volume, const int channel)
+bool SoundEffect::play(const int loops, const int volume,
+ const int channel) const
{
Mix_VolumeChunk(mChunk, volume);