aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/dialogue.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-06 08:44:14 +0000
committerNicola Mettifogo2007-08-06 08:44:14 +0000
commita210dcc03bcaa5af81c9cfe4a22d8d0661d60b93 (patch)
treeb3eb3c50c3d043a77b12088883f35d8cdb841009 /engines/parallaction/dialogue.cpp
parente65c744039952b2232d8a9ac90614d90ca3e5b44 (diff)
downloadscummvm-rg350-a210dcc03bcaa5af81c9cfe4a22d8d0661d60b93.tar.gz
scummvm-rg350-a210dcc03bcaa5af81c9cfe4a22d8d0661d60b93.tar.bz2
scummvm-rg350-a210dcc03bcaa5af81c9cfe4a22d8d0661d60b93.zip
Fixes bug #1766217 (flickering monk), and prevents animations from stepping back one frame when a dialogue starts. This is part of the regression introduced when screen refreshes were cut down.
svn-id: r28467
Diffstat (limited to 'engines/parallaction/dialogue.cpp')
-rw-r--r--engines/parallaction/dialogue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index 84ecde6e64..3398b62f8b 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -383,6 +383,8 @@ void DialogueManager::run() {
_q = _dialogue->_questions[0];
int16 answer;
+ _vm->_gfx->copyScreen(Gfx::kBitFront, Gfx::kBitBack);
+
while (_q) {
answer = 0;