aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/sound.h
diff options
context:
space:
mode:
authorStrangerke2019-09-06 22:14:12 +0200
committerStrangerke2019-09-06 22:14:12 +0200
commitcf001b11164802d26e470f98b6391d3da63f6f2b (patch)
tree9ffaebd036c2e88f714c06721aad3a0780a237ac /engines/hdb/sound.h
parent44de7e8d5e36119f7a1359d55ff15c7b2f5bd529 (diff)
downloadscummvm-rg350-cf001b11164802d26e470f98b6391d3da63f6f2b.tar.gz
scummvm-rg350-cf001b11164802d26e470f98b6391d3da63f6f2b.tar.bz2
scummvm-rg350-cf001b11164802d26e470f98b6391d3da63f6f2b.zip
HDB: Turn _voicesOn into a boolean
Diffstat (limited to 'engines/hdb/sound.h')
-rw-r--r--engines/hdb/sound.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h
index d49b522487..8cf687d3d6 100644
--- a/engines/hdb/sound.h
+++ b/engines/hdb/sound.h
@@ -1494,10 +1494,10 @@ public:
int getSFXVolume() {
return _sfxVolume;
}
- void setVoiceStatus(int value) {
+ void setVoiceStatus(bool value) {
_voicesOn = value;
}
- int getVoiceStatus() {
+ bool getVoiceStatus() {
return _voicesOn;
}
void clearPersistent() {
@@ -1547,7 +1547,7 @@ public:
Voice _voices[MAX_VOICES];
- int _voicesOn;
+ bool _voicesOn;
byte _voicePlayed[NUM_VOICES];
// Music System Variables