diff options
-rw-r--r-- | common/unarj.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/unarj.cpp b/common/unarj.cpp index 942e659caa..f3ac20c285 100644 --- a/common/unarj.cpp +++ b/common/unarj.cpp @@ -289,6 +289,9 @@ bool ArjFile::open(const Common::String &filename, AccessMode mode) { } void ArjFile::close() { + if (!_isOpen) + return; + _isOpen = false; if (_fallBack) { |