Fix missing subtitles in Conroy Bumpus' song in Sam & Max
svn-id: r14101
This commit is contained in:
parent
6b99d5a971
commit
ba23b9f96e
1 changed files with 6 additions and 2 deletions
|
@ -482,8 +482,12 @@ int ScummEngine::readVar(uint var) {
|
|||
}
|
||||
}
|
||||
|
||||
if ((_gameId == GID_LOOM256 || _features & GF_HUMONGOUS) && var == VAR_NOSUBTITLES) {
|
||||
return !ConfMan.getBool("subtitles");
|
||||
if (var == VAR_NOSUBTITLES) {
|
||||
if (_gameId == GID_LOOM256 || _features & GF_HUMONGOUS)
|
||||
return !ConfMan.getBool("subtitles");
|
||||
else if (_gameId == GID_SAMNMAX)
|
||||
// Used as VAR_SUBTITLES in Sam & Max during Conroy Bumpus song
|
||||
return ConfMan.getBool("subtitles");
|
||||
}
|
||||
|
||||
checkRange(_numVariables - 1, 0, var, "Variable %d out of range(r)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue