diff options
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/charset.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/script.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp index 44c0074760..e38fbf5934 100644 --- a/engines/scumm/charset.cpp +++ b/engines/scumm/charset.cpp @@ -1201,7 +1201,7 @@ void CharsetRendererCommon::enableShadow(bool enable) { void CharsetRendererV3::printChar(int chr, bool ignoreCharsetMask) { // Indy3 / Zak256 / Loom - int width, height, origWidth, origHeight; + int width, height, origWidth = 0, origHeight; VirtScreen *vs; byte *charPtr, *dst; int is2byte = (chr >= 0x80 && _vm->_useCJKMode) ? 1 : 0; diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp index 686e6262db..fa014a4465 100644 --- a/engines/scumm/script.cpp +++ b/engines/scumm/script.cpp @@ -606,7 +606,7 @@ void ScummEngine::writeVar(uint var, int value) { if (_game.heversion <= 73 && vm.slot[_currentScript].number == 1) return; assert(value == 0 || value == 1); - ConfMan.setBool("subtitles", value); + ConfMan.setBool("subtitles", (value != 0)); } if (VAR_NOSUBTITLES != 0xFF && var == VAR_NOSUBTITLES) { // Ignore default setting in HE60-71 games |