aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator_v2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-18 15:50:43 +0000
committerJohannes Schickel2008-03-18 15:50:43 +0000
commit2af4fc103499236cf79c7cfafeaaa622ea63e7cd (patch)
tree007490301b3532caae450e610d90dc4ef7cf07f2 /engines/kyra/animator_v2.cpp
parent8e98e35b56034c42a150fd5b8adf2a67255b4609 (diff)
downloadscummvm-rg350-2af4fc103499236cf79c7cfafeaaa622ea63e7cd.tar.gz
scummvm-rg350-2af4fc103499236cf79c7cfafeaaa622ea63e7cd.tar.bz2
scummvm-rg350-2af4fc103499236cf79c7cfafeaaa622ea63e7cd.zip
- Implemented opcodes:
-> 21: o2_backUpScreen -> 22: o2_restoreScreen -> 28: o2_addItemToInventory -> 50: o2_wipeDownMouseItem -> 67: o2_loadPalette384 -> 68: o2_setPalette384 -> 165: o2_disableTimer -> 166: o2_enableTimer -> 167: o2_setTimerCountdown - renamed some timer functions svn-id: r31182
Diffstat (limited to 'engines/kyra/animator_v2.cpp')
-rw-r--r--engines/kyra/animator_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator_v2.cpp b/engines/kyra/animator_v2.cpp
index 22b01c7198..bda6be7ac3 100644
--- a/engines/kyra/animator_v2.cpp
+++ b/engines/kyra/animator_v2.cpp
@@ -196,7 +196,7 @@ void KyraEngine_v2::refreshAnimObjectsIfNeed() {
void KyraEngine_v2::updateItemAnimations() {
bool nextFrame = false;
- if (_itemAnimData[0].itemIndex == -1 || _holdItemAnims)
+ if (_itemAnimData[0].itemIndex == -1 || _inventorySaved)
return;
ItemAnimData *s = &_itemAnimData[_nextAnimItem++];