diff options
author | Eugene Sandulenko | 2015-11-30 20:09:47 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:45 +0100 |
commit | 29fc7a56c1163d2931980e1bec1ab440183ab639 (patch) | |
tree | 2a0733f7467774570b7826358f01e01216128b94 /engines | |
parent | fa8d319e3106f1b8ee5c8ebfcb2e8a8df8ca5bf0 (diff) | |
download | scummvm-rg350-29fc7a56c1163d2931980e1bec1ab440183ab639.tar.gz scummvm-rg350-29fc7a56c1163d2931980e1bec1ab440183ab639.tar.bz2 scummvm-rg350-29fc7a56c1163d2931980e1bec1ab440183ab639.zip |
LAB: Fix warning
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/labsets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/labsets.cpp b/engines/lab/labsets.cpp index edd764668b..ad721fa2db 100644 --- a/engines/lab/labsets.cpp +++ b/engines/lab/labsets.cpp @@ -61,7 +61,7 @@ void LargeSet::exclElement(uint16 element) { bool LargeSet::readInitialConditions(const char *fileName) { Common::File *file; - if (file = _vm->_resource->openDataFile(fileName, MKTAG('C', 'O', 'N', '0'))) { + if ((file = _vm->_resource->openDataFile(fileName, MKTAG('C', 'O', 'N', '0')))) { uint16 conditions = file->readUint16LE(); for (int i = 0; i < conditions; i++) { inclElement(file->readUint16LE()); |