diff options
author | Jamieson Christian | 2003-06-12 17:33:45 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-06-12 17:33:45 +0000 |
commit | d7b7abd93ff40d85ffa531d643a6f28987c6f0e6 (patch) | |
tree | 6aecadf54d1ee669ed5c633ef7ac5acbcbc00d6d | |
parent | aabfc254c1ad35b796b2780e76280508882df98c (diff) | |
download | scummvm-rg350-d7b7abd93ff40d85ffa531d643a6f28987c6f0e6.tar.gz scummvm-rg350-d7b7abd93ff40d85ffa531d643a6f28987c6f0e6.tar.bz2 scummvm-rg350-d7b7abd93ff40d85ffa531d643a6f28987c6f0e6.zip |
Fixed MSVC warning
svn-id: r8449
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 705fde679e..9a9ffd72a4 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -535,7 +535,7 @@ void Scumm::writeVar(uint var, int value) { // stay in sync with loom cd subtitle var if (_gameId == GID_LOOM256 && var == VAR_NOSUBTITLES && (value == 0 || value == 1)) - _noSubtitles = value; + _noSubtitles = (value != 0); if ((_varwatch == (int)var) || (_varwatch == 0)) { if (vm.slot[_currentScript].number < 100) |