aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-15 03:16:06 +0000
committerFilippos Karapetis2007-06-15 03:16:06 +0000
commit3b78d79ec0a6051afc99a72340613be370f91654 (patch)
tree3a7dcc7ef8e3203fbe5f2acc12735547a99f38c8 /engines
parentcb15724147dd1695a9b17b4fd34ba1adf4554d37 (diff)
downloadscummvm-rg350-3b78d79ec0a6051afc99a72340613be370f91654.tar.gz
scummvm-rg350-3b78d79ec0a6051afc99a72340613be370f91654.tar.bz2
scummvm-rg350-3b78d79ec0a6051afc99a72340613be370f91654.zip
The frame count should be updated when the background frame is shown in a cutaway
svn-id: r27409
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/animation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index 5a0f5e1e2e..4d6843e2eb 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -135,6 +135,8 @@ void Anim::playCutaway(int cut, bool fade) {
const Rect rect(width, height);
bgSurface->blit(rect, buf);
+ _vm->_frameCount++;
+
_vm->_gfx->setPalette(palette);
free(buf);