diff options
Diffstat (limited to 'engines/kyra/vqa.cpp')
-rw-r--r-- | engines/kyra/vqa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/vqa.cpp b/engines/kyra/vqa.cpp index c55c573ea3..d5b63bdf6b 100644 --- a/engines/kyra/vqa.cpp +++ b/engines/kyra/vqa.cpp @@ -323,7 +323,7 @@ bool VQAMovie::open(const char *filename) { uint32 scanTag = readTag(); uint32 scanSize = _file.readUint32BE(); - if (_file.eof()) + if (_file.eos()) break; if (scanTag == MKID_BE('VQFR')) { @@ -396,7 +396,7 @@ void VQAMovie::displayFrame(uint frameNum) { uint32 tag = readTag(); uint32 size = _file.readUint32BE(); - if (_file.eof()) { + if (_file.eos()) { // This happens at the last frame. Apparently it has // no sound? break; @@ -596,7 +596,7 @@ void VQAMovie::play() { uint32 tag = readTag(); uint32 size = _file.readUint32BE(); - if (_file.eof()) { + if (_file.eos()) { warning("VQAMovie::play: Unexpected EOF"); break; } |