diff options
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index 5d753255bd..6e89868db2 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -1059,7 +1059,7 @@ int c_save_game(EngineState *s) { if (!omit_check) { int result = 0; for (uint i = 0; i < s->_fileHandles.size(); i++) - if (s->_fileHandles[i]._file) + if (s->_fileHandles[i].isOpen()) result++; if (result) { |