summaryrefslogtreecommitdiff
path: root/src/resources/soundeffect.cpp
diff options
context:
space:
mode:
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);