[Scummvm-cvs-logs] SF.net SVN: scummvm:[49698] scummvm/trunk/engines/saga

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Jun 15 12:16:53 CEST 2010


Revision: 49698
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49698&view=rev
Author:   sev
Date:     2010-06-15 10:16:53 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
SAGA: Fix bug #1970191.

Bug #1970191: "IHNM: Psychic Profile problem". Still there is a
slight artefact. When the profile has 2 pages and is skipped,
there are two fade-ins in a row. It could be checked by analysing
event queue.

Modified Paths:
--------------
    scummvm/trunk/engines/saga/interface.cpp
    scummvm/trunk/engines/saga/scene.cpp

Modified: scummvm/trunk/engines/saga/interface.cpp
===================================================================
--- scummvm/trunk/engines/saga/interface.cpp	2010-06-15 10:16:32 UTC (rev 49697)
+++ scummvm/trunk/engines/saga/interface.cpp	2010-06-15 10:16:53 UTC (rev 49698)
@@ -1861,6 +1861,7 @@
 			if (updateFlag & UPDATE_MOUSECLICK) {
 				if (!_vm->isIHNMDemo()) {
 					_vm->_scene->clearPsychicProfile();
+					_vm->_script->wakeUpThreads(kWaitTypeDelay);
 				} else {
 					setMode(kPanelConverse);
 					_vm->_scene->_textList.clear();

Modified: scummvm/trunk/engines/saga/scene.cpp
===================================================================
--- scummvm/trunk/engines/saga/scene.cpp	2010-06-15 10:16:32 UTC (rev 49697)
+++ scummvm/trunk/engines/saga/scene.cpp	2010-06-15 10:16:53 UTC (rev 49698)
@@ -1442,6 +1442,8 @@
 	_vm->_interface->setMode(kPanelPlacard);
 	_vm->_gfx->savePalette();
 
+	_vm->_events->clearList();
+
 	event.type = kEvTOneshot;
 	event.code = kCursorEvent;
 	event.op = kEventHide;


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