diff options
author | Filippos Karapetis | 2010-12-21 07:53:34 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-12-21 07:53:34 +0000 |
commit | 75649f89038add203e483f43bac0f4d13870704b (patch) | |
tree | 4f2b001a8abed9e00ece41bc0b701ac521e56818 | |
parent | 3d3f7b09b2d92074fb970e3102193b3d4bcff571 (diff) | |
download | scummvm-rg350-75649f89038add203e483f43bac0f4d13870704b.tar.gz scummvm-rg350-75649f89038add203e483f43bac0f4d13870704b.tar.bz2 scummvm-rg350-75649f89038add203e483f43bac0f4d13870704b.zip |
SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping dialogs
in the Windows version of KQ6
svn-id: r54983
-rw-r--r-- | engines/sci/graphics/portrait.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |