aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2007-01-31 17:48:26 +0000
committerJohannes Schickel2007-01-31 17:48:26 +0000
commit9799b346d86c5151d66d93f034cf5d1a40dbb15b (patch)
tree6d95406110dd4d557c05e9d67f9c6041c782f836 /engines/kyra/animator.cpp
parent8b4001f4908c2653338521d297661fc6faa169ea (diff)
downloadscummvm-rg350-9799b346d86c5151d66d93f034cf5d1a40dbb15b.tar.gz
scummvm-rg350-9799b346d86c5151d66d93f034cf5d1a40dbb15b.tar.bz2
scummvm-rg350-9799b346d86c5151d66d93f034cf5d1a40dbb15b.zip
Fix for bug #1479856 ("KYRA1: gfx glitch when dying on bridge").
svn-id: r25312
Diffstat (limited to 'engines/kyra/animator.cpp')
-rw-r--r--engines/kyra/animator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator.cpp b/engines/kyra/animator.cpp
index 3a632634cd..44220e856f 100644
--- a/engines/kyra/animator.cpp
+++ b/engines/kyra/animator.cpp
@@ -257,7 +257,7 @@ void ScreenAnimator::prepDrawAllObjects() {
}
// talking head functionallity
- if (_vm->_talkingCharNum != -1) {
+ if (_vm->_talkingCharNum != -1 && (_vm->_currentCharacter->currentAnimFrame != 88 || curObject->index != 0)) {
const int16 baseAnimFrameTable1[] = { 0x11, 0x35, 0x59, 0x00, 0x00, 0x00 };
const int16 baseAnimFrameTable2[] = { 0x15, 0x39, 0x5D, 0x00, 0x00, 0x00 };
const int8 xOffsetTable1[] = { 2, 4, 0, 5, 2, 0, 0, 0 };