diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/animation_he.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index c7f9455a46..f1f78d6d78 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -155,6 +155,9 @@ int MoviePlayer::load(const char *filename, int flags, int image) { } void MoviePlayer::close() { + if (_fd.isOpen() == false) + return; + _fd.close(); free(_frameBuffer1); free(_frameBuffer2); |