diff options
author | Strangerke | 2013-12-17 08:06:03 +0100 |
---|---|---|
committer | Strangerke | 2013-12-17 08:06:03 +0100 |
commit | 5a1fe83911495bc91e08a27d76e1db03719ec8ec (patch) | |
tree | da1126297fee386f9630ff2ad2b4f34791ab5e39 /engines/cge | |
parent | ee34fcef43a527f2de12b48f89934ebab4478c08 (diff) | |
download | scummvm-rg350-5a1fe83911495bc91e08a27d76e1db03719ec8ec.tar.gz scummvm-rg350-5a1fe83911495bc91e08a27d76e1db03719ec8ec.tar.bz2 scummvm-rg350-5a1fe83911495bc91e08a27d76e1db03719ec8ec.zip |
CGE: Fix check on file handlers
Diffstat (limited to 'engines/cge')
-rw-r--r-- | engines/cge/fileio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/fileio.cpp b/engines/cge/fileio.cpp index 609d5e86aa..c08cb43a47 100644 --- a/engines/cge/fileio.cpp +++ b/engines/cge/fileio.cpp @@ -70,7 +70,7 @@ ResourceManager::ResourceManager() { _catFile = new Common::File(); _catFile->open(kCatName); - if ((!_datFile) || (!_catFile)) + if (!_datFile->isOpen() || !_catFile->isOpen()) error("Unable to open data files"); for (int i = 0; i < kBtLevel; i++) { |