aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorAndrew Kurushin2006-03-24 18:30:34 +0000
committerAndrew Kurushin2006-03-24 18:30:34 +0000
commit212b150b6fad89d5a883d6ea78372b31b64dbea3 (patch)
treecf69e5bc74414134bf41dd1307a144241e68f3bd /engines/kyra
parent9586f11bdfeb0165723d6a8ba0a21326faff83f3 (diff)
downloadscummvm-rg350-212b150b6fad89d5a883d6ea78372b31b64dbea3.tar.gz
scummvm-rg350-212b150b6fad89d5a883d6ea78372b31b64dbea3.tar.bz2
scummvm-rg350-212b150b6fad89d5a883d6ea78372b31b64dbea3.zip
Fix MSVC warnings
svn-id: r21440
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/saveload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/saveload.cpp b/engines/kyra/saveload.cpp
index bd8f02ebab..e348898498 100644
--- a/engines/kyra/saveload.cpp
+++ b/engines/kyra/saveload.cpp
@@ -181,8 +181,8 @@ void KyraEngine::loadGame(const char *fileName) {
if (version >= 4) {
_configTextspeed = in->readByte();
_configWalkspeed = in->readByte();
- _configMusic = in->readByte();
- _configSounds = in->readByte();
+ _configMusic = in->readByte() != 0;
+ _configSounds = in->readByte() != 0;
_configVoice = in->readByte();
}