From f00ec302b8a6737324b3699bff53f3565f97e75b Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 11 Jan 2004 01:01:27 +0000 Subject: Enable subtitles toggle key 't' in Humongous Games. svn-id: r12313 --- scumm/script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm') 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)); } -- cgit v1.2.3