[Scummvm-cvs-logs] SF.net SVN: scummvm: [27917] scummvm/trunk/engines/parallaction/dialogue. cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Thu Jul 5 08:38:54 CEST 2007


Revision: 27917
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27917&view=rev
Author:   Kirben
Date:     2007-07-04 23:38:54 -0700 (Wed, 04 Jul 2007)

Log Message:
-----------
Fix incorrect face frame been shown during dialogs, due to regression in revision 27834.

Revision Links:
--------------
    http://scummvm.svn.sourceforge.net/scummvm/?rev=27834&view=rev

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/dialogue.cpp

Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp	2007-07-05 03:37:23 UTC (rev 27916)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp	2007-07-05 06:38:54 UTC (rev 27917)
@@ -424,7 +424,7 @@
 
 	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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list