[Scummvm-cvs-logs] SF.net SVN: scummvm:[54983] scummvm/trunk/engines/sci/graphics/portrait.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Dec 21 08:53:35 CET 2010


Revision: 54983
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54983&view=rev
Author:   thebluegr
Date:     2010-12-21 07:53:34 +0000 (Tue, 21 Dec 2010)

Log Message:
-----------
SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping dialogs
in the Windows version of KQ6

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/portrait.cpp

Modified: scummvm/trunk/engines/sci/graphics/portrait.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/portrait.cpp	2010-12-21 01:09:14 UTC (rev 54982)
+++ scummvm/trunk/engines/sci/graphics/portrait.cpp	2010-12-21 07:53:34 UTC (rev 54983)
@@ -203,8 +203,12 @@
 		}
 	}
 
-	if (userAbort)
+	if (userAbort) {
+		// Reset the portrait bitmap to "closed mouth" state, when skipping dialogs
+		drawBitmap(0);
+		bitsShow();
 		_audio->stopAudio();
+	}
 
 	_resMan->unlockResource(syncResource);
 }


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