diff options
author | Filippos Karapetis | 2008-12-16 09:56:21 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-16 09:56:21 +0000 |
commit | 0b1d31383b6b7978903e4c8c40de010506709937 (patch) | |
tree | 41e1e25060203b9af06b8af62465a2e99a623328 /engines | |
parent | 638a8e330666e99f0f0887eebab8b50f61624fd4 (diff) | |
download | scummvm-rg350-0b1d31383b6b7978903e4c8c40de010506709937.tar.gz scummvm-rg350-0b1d31383b6b7978903e4c8c40de010506709937.tar.bz2 scummvm-rg350-0b1d31383b6b7978903e4c8c40de010506709937.zip |
- 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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/animation_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } |