aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-05-09 14:16:43 +0000
committerEugene Sandulenko2006-05-09 14:16:43 +0000
commitd2546e397934da3e89fdd994e0c620dd0bcfbcd4 (patch)
tree8e7371097f7421496d6ea24ceaff6feeab7185d1 /engines/scumm/script.cpp
parent4c6712246368148c91861fd30677a461e57e698b (diff)
downloadscummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.tar.gz
scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.tar.bz2
scummvm-rg350-d2546e397934da3e89fdd994e0c620dd0bcfbcd4.zip
- Updated MSVC8 project files
- Renamed base/options.cpp to base/commandLine.cpp because of conflict with gui/options.cpp which sit in same directory in MSVC builds - Moved AudioCDManager singleton declaration outside of Audio namespace - Fixed numerous MSVC warning of potentially uninitialized variables and int <-> bool conversions. svn-id: r22397
Diffstat (limited to 'engines/scumm/script.cpp')
-rw-r--r--engines/scumm/script.cpp2
1 files changed, 1 insertions, 1 deletions
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