From 75649f89038add203e483f43bac0f4d13870704b Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 21 Dec 2010 07:53:34 +0000 Subject: SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping dialogs in the Windows version of KQ6 svn-id: r54983 --- engines/sci/graphics/portrait.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/graphics/portrait.cpp b/engines/sci/graphics/portrait.cpp index f21fa39476..6e9df2f019 100644 --- a/engines/sci/graphics/portrait.cpp +++ b/engines/sci/graphics/portrait.cpp @@ -203,8 +203,12 @@ void Portrait::doit(Common::Point position, uint16 resourceId, uint16 noun, uint } } - if (userAbort) + if (userAbort) { + // Reset the portrait bitmap to "closed mouth" state, when skipping dialogs + drawBitmap(0); + bitsShow(); _audio->stopAudio(); + } _resMan->unlockResource(syncResource); } -- cgit v1.2.3