diff options
Diffstat (limited to 'src/client/sound.h')
-rw-r--r-- | src/client/sound.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/sound.h b/src/client/sound.h index c1d3c0cfa..a3bb3ce87 100644 --- a/src/client/sound.h +++ b/src/client/sound.h @@ -63,13 +63,13 @@ public: virtual void step(float dtime) = 0; virtual void fadeSound(int sound, float step, float gain) = 0; - int playSound(const SimpleSoundSpec &spec, bool loop) + int playSound(const SimpleSoundSpec &spec) { - return playSound(spec.name, loop, spec.gain, spec.fade, spec.pitch); + return playSound(spec.name, spec.loop, spec.gain, spec.fade, spec.pitch); } - int playSoundAt(const SimpleSoundSpec &spec, bool loop, const v3f &pos) + int playSoundAt(const SimpleSoundSpec &spec, const v3f &pos) { - return playSoundAt(spec.name, loop, spec.gain, pos, spec.pitch); + return playSoundAt(spec.name, spec.loop, spec.gain, pos, spec.pitch); } }; |