diff options
-rw-r--r-- | engines/access/files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/files.cpp b/engines/access/files.cpp index 017102b92a..1ebc2fa8eb 100644 --- a/engines/access/files.cpp +++ b/engines/access/files.cpp @@ -66,7 +66,7 @@ void FileManager::openFile(const Common::String &filename) { // Open up the file _fileNumber = -1; _file.close(); - if (_file.open(filename)) + if (!_file.open(filename)) error("Could not open file - %s", filename.c_str()); _filesize = _file.size(); |