aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-01-11 01:01:27 +0000
committerTravis Howell2004-01-11 01:01:27 +0000
commitf00ec302b8a6737324b3699bff53f3565f97e75b (patch)
treeb624f531a14ec2616c5909d1350c0f4d512a1ed5 /scumm
parent3be8219bd9929b47a8a309d94fa50214c049b6eb (diff)
downloadscummvm-rg350-f00ec302b8a6737324b3699bff53f3565f97e75b.tar.gz
scummvm-rg350-f00ec302b8a6737324b3699bff53f3565f97e75b.tar.bz2
scummvm-rg350-f00ec302b8a6737324b3699bff53f3565f97e75b.zip
Enable subtitles toggle key 't' in Humongous Games.
svn-id: r12313
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index bb52da588a..6d54677e9c 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -482,7 +482,7 @@ int ScummEngine::readVar(uint var) {
}
}
- if (_gameId == GID_LOOM256 && var == VAR_NOSUBTITLES) {
+ if ((_gameId == GID_LOOM256 || _features & GF_HUMONGOUS) && var == VAR_NOSUBTITLES) {
return !ConfMan.getBool("subtitles");
}
@@ -549,7 +549,7 @@ void ScummEngine::writeVar(uint var, int value) {
_scummVars[var] = value;
// stay in sync with loom cd subtitle var
- if (_gameId == GID_LOOM256 && var == VAR_NOSUBTITLES) {
+ if ((_gameId == GID_LOOM256 || _features & GF_HUMONGOUS) && var == VAR_NOSUBTITLES) {
assert(value == 0 || value == 1);
ConfMan.set("subtitles", (value == 0));
}