aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_hof.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2008-06-01 13:19:45 +0000
committerFlorian Kagerer2008-06-01 13:19:45 +0000
commit5b3a6fac639505819f9077a52cea7225b09ebd0c (patch)
tree802320c175583147a4a19370430b299f3e372049 /engines/kyra/kyra_hof.cpp
parente5be4847ac25bab8ad74aca1db298f321ec4f682 (diff)
downloadscummvm-rg350-5b3a6fac639505819f9077a52cea7225b09ebd0c.tar.gz
scummvm-rg350-5b3a6fac639505819f9077a52cea7225b09ebd0c.tar.bz2
scummvm-rg350-5b3a6fac639505819f9077a52cea7225b09ebd0c.zip
- (hopefully) fix valgrind warning for installer file decompression
- some more pauseEngineIntern code for Hof svn-id: r32462
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r--engines/kyra/kyra_hof.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp
index 14bbc574fc..57f0dcc24a 100644
--- a/engines/kyra/kyra_hof.cpp
+++ b/engines/kyra/kyra_hof.cpp
@@ -206,7 +206,12 @@ void KyraEngine_HoF::pauseEngineIntern(bool pause) {
_activeWSA[x].nextFrame += pausedTime;
}
- // TODO: item animation, idle animation, tim player, etc
+ _nextIdleAnim += pausedTime;
+
+ for (int x = 0; x < _itemAnimDataSize; x++)
+ _activeItemAnim[x].nextFrame += pausedTime;
+
+ _tim->refreshTimersAfterPause(pausedTime);
}
}