diff options
author | Travis Howell | 2007-06-12 06:08:47 +0000 |
---|---|---|
committer | Travis Howell | 2007-06-12 06:08:47 +0000 |
commit | 12c9fb03820c383d5d10fa3c3ba8e2cffad8db98 (patch) | |
tree | 153e2ac588eae58913bf3c1b5ec30e41a7c80fef /engines/scumm | |
parent | 9c07235a938e668cf3b4728a11ec8161d7d67c6b (diff) | |
download | scummvm-rg350-12c9fb03820c383d5d10fa3c3ba8e2cffad8db98.tar.gz scummvm-rg350-12c9fb03820c383d5d10fa3c3ba8e2cffad8db98.tar.bz2 scummvm-rg350-12c9fb03820c383d5d10fa3c3ba8e2cffad8db98.zip |
Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble Files.
svn-id: r27371
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/he/animation_he.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index da0855e1a3..3bc2f3e5d7 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -40,7 +40,7 @@ MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer) } int MoviePlayer::getImageNum() { - if (!_fd.isOpen()) + if (!_fd) return 0; return _wizResNum; } @@ -48,7 +48,7 @@ int MoviePlayer::getImageNum() { int MoviePlayer::load(const char *filename, int flags, int image) { char videoName[100]; - if (_fd.isOpen()) { + if (_fd) { closeFile(); } @@ -66,7 +66,7 @@ int MoviePlayer::load(const char *filename, int flags, int image) { debug(1, "Playing video %s", videoName); // Skip sound tag - _fd.readUint32BE(); + _fd->readUint32BE(); if (flags & 2) { _vm->_wiz->createWizEmptyImage(image, 0, 0, _width, _height); @@ -85,7 +85,7 @@ int MoviePlayer::load(const char *filename, int flags, int image) { } void MoviePlayer::handleNextFrame() { - if (_fd.isOpen() == false) { + if (_fd == false) { return; } |