[Scummvm-cvs-logs] SF.net SVN: scummvm: [30171] scummvm/trunk/engines/parallaction/dialogue. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Wed Jan 2 22:33:18 CET 2008
Revision: 30171
http://scummvm.svn.sourceforge.net/scummvm/?rev=30171&view=rev
Author: peres001
Date: 2008-01-02 13:33:18 -0800 (Wed, 02 Jan 2008)
Log Message:
-----------
Fix for bug #1829409. Character now changes expression accordingly with available dialogue answers.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/dialogue.cpp
Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp 2008-01-02 21:30:08 UTC (rev 30170)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp 2008-01-02 21:33:18 UTC (rev 30171)
@@ -314,7 +314,8 @@
_vm->readInput();
_si = getHoverAnswer(_vm->_mousePos.x, _vm->_mousePos.y);
- if (_si != v2) {
+ if (_si != v2 && _si != -1) {
+
if (v2 != -1)
_vm->_gfx->displayWrappedString(_q->_answers[v2]->_text, _answerBalloonX[v2], _answerBalloonY[v2], 3, MAX_BALLOON_WIDTH);
@@ -356,7 +357,7 @@
}
- return 0;
+ return -1;
}
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