diff options
-rw-r--r-- | scumm/resource_v2.cpp | 3 |
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(); |