diff options
author | David Corrales | 2007-06-23 18:51:33 +0000 |
---|---|---|
committer | David Corrales | 2007-06-23 18:51:33 +0000 |
commit | cacd7a28fd51d960947de88abbf30c487e66529d (patch) | |
tree | f3baa59853bfb307e452b86b9d93c4737b1fa6ab /engines/scumm/he/animation_he.cpp | |
parent | 0ac96302fe9c04df79cb01a77d19535b45fe2db0 (diff) | |
parent | 90c2210dae8c91fa8babc6b05564e15c9d445d18 (diff) | |
download | scummvm-rg350-cacd7a28fd51d960947de88abbf30c487e66529d.tar.gz scummvm-rg350-cacd7a28fd51d960947de88abbf30c487e66529d.tar.bz2 scummvm-rg350-cacd7a28fd51d960947de88abbf30c487e66529d.zip |
Merged the FSNode branch with trunk r27031:27680
svn-id: r27681
Diffstat (limited to 'engines/scumm/he/animation_he.cpp')
-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; } |