aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2002-12-14 18:51:34 +0000
committerMax Horn2002-12-14 18:51:34 +0000
commit44430ce4da3be7b6d09f8f068c6d098489bed538 (patch)
tree411fffc46d1a103407284844361ab1a9941fcf9e /scumm
parent3575a2db06f393f6105b87019564d7e2cd44b9e8 (diff)
downloadscummvm-rg350-44430ce4da3be7b6d09f8f068c6d098489bed538.tar.gz
scummvm-rg350-44430ce4da3be7b6d09f8f068c6d098489bed538.tar.bz2
scummvm-rg350-44430ce4da3be7b6d09f8f068c6d098489bed538.zip
fixed warning
svn-id: r5962
Diffstat (limited to 'scumm')
-rw-r--r--scumm/resource_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp
index ea4c5d0de8..c78921f923 100644
--- a/scumm/resource_v2.cpp
+++ b/scumm/resource_v2.cpp
@@ -32,7 +32,8 @@ void Scumm_v2::readIndexFile()
openRoom(-1);
openRoom(0);
- if (magic = _fileHandle.readUint16LE() != 0x0100)
+ magic = _fileHandle.readUint16LE();
+ if (magic != 0x0100)
warning("The magic id doesn't match (0x%X)\n", magic);
_numGlobalObjects = _fileHandle.readUint16LE();