aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-07-05 06:38:54 +0000
committerTravis Howell2007-07-05 06:38:54 +0000
commitbe61cff6d1fadd957019f2cc002f4fcd74ff6b37 (patch)
tree3ee6db89484105a6804412d861c33acf97d1f59b
parent8d81d720d3728987a026f13abe4e2aca0e678a23 (diff)
downloadscummvm-rg350-be61cff6d1fadd957019f2cc002f4fcd74ff6b37.tar.gz
scummvm-rg350-be61cff6d1fadd957019f2cc002f4fcd74ff6b37.tar.bz2
scummvm-rg350-be61cff6d1fadd957019f2cc002f4fcd74ff6b37.zip
Fix incorrect face frame been shown during dialogs, due to regression in revision 27834.
svn-id: r27917
-rw-r--r--engines/parallaction/dialogue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index b5eda90136..dcdcd497a7 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -424,7 +424,7 @@ int16 DialogueManager::selectAnswer() {
if (numAvailableAnswers == 1) {
_vm->_gfx->displayWrappedString(_q->_answers[_di]->_text, _answerBalloonX[_di], _answerBalloonY[_di], 0, MAX_BALLOON_WIDTH);
- _vm->_gfx->flatBlitCnv(_answerer, 0, ANSWER_CHARACTER_X, ANSWER_CHARACTER_Y, Gfx::kBitFront);
+ _vm->_gfx->flatBlitCnv(_answerer, _q->_answers[_di]->_mood & 0xF, ANSWER_CHARACTER_X, ANSWER_CHARACTER_Y, Gfx::kBitFront);
_vm->_gfx->updateScreen();
waitUntilLeftClick();
return _di;