aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorVladimir Menshakov2009-12-14 22:29:09 +0000
committerVladimir Menshakov2009-12-14 22:29:09 +0000
commiteb9b31782f094578d0d824962a5660d697e71486 (patch)
treeff1cd3b4a39c97ca8767fb74fa839e42321d93de /engines
parent43f9c1bce15c9878572d254577ab57ea2d94e1fb (diff)
downloadscummvm-rg350-eb9b31782f094578d0d824962a5660d697e71486.tar.gz
scummvm-rg350-eb9b31782f094578d0d824962a5660d697e71486.tar.bz2
scummvm-rg350-eb9b31782f094578d0d824962a5660d697e71486.zip
skip rendering if restart was requested
svn-id: r46378
Diffstat (limited to 'engines')
-rw-r--r--engines/teenagent/scene.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index d4b1840e30..8c270c18f5 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -671,6 +671,10 @@ bool Scene::render(OSystem *system) {
}
}
}
+ if (restart) {
+ system->unlockScreen();
+ continue;
+ }
//render on
if (debug_features.feature[DebugFeatures::kShowOn]) {
on.render(surface, actor_animation_position);