diff options
author | Vladimir Menshakov | 2009-12-14 22:29:09 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-12-14 22:29:09 +0000 |
commit | eb9b31782f094578d0d824962a5660d697e71486 (patch) | |
tree | ff1cd3b4a39c97ca8767fb74fa839e42321d93de /engines | |
parent | 43f9c1bce15c9878572d254577ab57ea2d94e1fb (diff) | |
download | scummvm-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.cpp | 4 |
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); |