From 0b1d31383b6b7978903e4c8c40de010506709937 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 16 Dec 2008 09:56:21 +0000 Subject: - Added some comments - Removed _paletteDidChange, as the virtual setPalette() function is called back on every palette change - Some cleanup - Removed unused/unneeded functions and variables - Changed _frameTypes to hold bytes instead of 32-bit integers (since frame types are held within a byte) svn-id: r35391 --- engines/scumm/he/animation_he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index 3691f7cae1..666660a573 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -92,7 +92,7 @@ void MoviePlayer::handleNextFrame() { _vm->markRectAsDirty(kMainVirtScreen, 0, 0, getWidth(), getHeight()); } - if (getCurFrame() == _framesCount) { + if (getCurFrame() == getFrameCount()) { closeFile(); } } -- cgit v1.2.3