diff options
author | Johannes Schickel | 2007-01-09 00:33:23 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-01-09 00:33:23 +0000 |
commit | 49f773d2f853f36c724eecb0c4bf383e315f0b26 (patch) | |
tree | 756c665f785a01548b11f1366994ae95acad6303 | |
parent | 965d82ea4673d560886e615934519fd61ab26a0c (diff) | |
download | scummvm-rg350-49f773d2f853f36c724eecb0c4bf383e315f0b26.tar.gz scummvm-rg350-49f773d2f853f36c724eecb0c4bf383e315f0b26.tar.bz2 scummvm-rg350-49f773d2f853f36c724eecb0c4bf383e315f0b26.zip |
Little fix.
svn-id: r25058
-rw-r--r-- | engines/kyra/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/text.cpp b/engines/kyra/text.cpp index cfeca07c8d..1de596f2d1 100644 --- a/engines/kyra/text.cpp +++ b/engines/kyra/text.cpp @@ -181,7 +181,7 @@ void KyraEngine::backupChatPartnerAnimFrame(int8 charNum) { if (_scaleMode != 0) _currentCharacter->currentAnimFrame = 7; else - _currentCharacter->currentAnimFrame = _currentCharAnimFrame; + _currentCharacter->currentAnimFrame = 16; _animator->animRefreshNPC(0); _animator->updateAllObjectShapes(); @@ -253,7 +253,7 @@ void KyraEngine::characterSays(const char *chatStr, int8 charNum, int8 chatDurat convoInitialized = initCharacterChat(charNum); chatPartnerNum = getChatPartnerNum(); - if (chatPartnerNum != -1 && chatPartnerNum < 5) + if (chatPartnerNum >= 0 && chatPartnerNum < 5) backupChatPartnerAnimFrame(chatPartnerNum); if (charNum < 5) { |