aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queen/sound.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/queen/sound.h b/queen/sound.h
index f17bb2aeea..1c7e80d33d 100644
--- a/queen/sound.h
+++ b/queen/sound.h
@@ -59,7 +59,8 @@ public:
void playSfx(uint16 sfx);
void playSfx(const char *base);
void playSong(int16 songNum);
-
+ void stopSfx() { _mixer->stopHandle(_sfxHandle); }
+
bool sfxOn() { return _sfxToggle; }
void sfxToggle(bool val) { _sfxToggle = val; }
void toggleSfx() { _sfxToggle ^= true; }