diff options
Diffstat (limited to 'engines/cge2/cge2_main.cpp')
-rw-r--r-- | engines/cge2/cge2_main.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 76829b00aa..b7dcf65b33 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -1137,11 +1137,23 @@ void CGE2Engine::setVolume(int idx, int cnt) { } void CGE2Engine::switchCap() { - warning("STUB: CGE2Engine::switchCap()"); + if (_enaCap) { + _sayCap = !_sayCap; + if (!_sayCap) + _sayVox = true; + keyClick(); + checkSaySwitch(); + } } void CGE2Engine::switchVox() { - warning("STUB: CGE2Engine::switchVox()"); + if (_enaVox) { + _sayVox = !_sayVox; + if (!_sayVox) + _sayCap = true; + keyClick(); + checkSaySwitch(); + } } void CGE2Engine::offUse() { |