diff options
-rw-r--r-- | engines/scumm/he/animation_he.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index 9f18d1cda8..1915a05a94 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -40,13 +40,13 @@ MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer) } int MoviePlayer::getImageNum() { - if (!_fileStream) + if (!videoIsLoaded()) return 0; return _wizResNum; } int MoviePlayer::load(const char *filename, int flags, int image) { - if (_fileStream) { + if (videoIsLoaded()) { closeFile(); } @@ -67,7 +67,7 @@ int MoviePlayer::load(const char *filename, int flags, int image) { } void MoviePlayer::handleNextFrame() { - if (_fileStream == false) { + if (!videoIsLoaded()) { return; } |