Skip to content

Commit

Permalink
SCI32: Allow SCI32 games to update speech & subtitles settings
Browse files Browse the repository at this point in the history
Fixes Trac#9637.
  • Loading branch information
csnover committed Nov 3, 2016
1 parent 1b037c4 commit 42ebd5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/sci/sci.cpp
Expand Up @@ -1166,7 +1166,9 @@ void SciEngine::syncIngameAudioOptions() {
void SciEngine::updateScummVMAudioOptions() {
// Update ScummVM's speech/subtitles settings for SCI1.1 CD games,
// depending on the in-game settings
if (isCD() && getSciVersion() == SCI_VERSION_1_1) {
if ((isCD() && getSciVersion() == SCI_VERSION_1_1) ||
getSciVersion() >= SCI_VERSION_2) {

uint16 ingameSetting = _gamestate->variables[VAR_GLOBAL][kGlobalVarMessageType].getOffset();

switch (ingameSetting) {
Expand Down

0 comments on commit 42ebd5a

Please sign in to comment.