diff options
author | Paul Gilbert | 2014-08-08 09:13:41 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-08 09:13:41 -0400 |
commit | 9aefd90939de855fa5533a9501b0d23e109cc385 (patch) | |
tree | 35bed928c51326750c80a70783d8f621686c6204 | |
parent | 745aa3daf9934846e183d5c5034d1ec8801fa5bc (diff) | |
download | scummvm-rg350-9aefd90939de855fa5533a9501b0d23e109cc385.tar.gz scummvm-rg350-9aefd90939de855fa5533a9501b0d23e109cc385.tar.bz2 scummvm-rg350-9aefd90939de855fa5533a9501b0d23e109cc385.zip |
ACCESS: Fix opening files by name
-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(); |