aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2007-09-16 01:38:23 +0000
committerFilippos Karapetis2007-09-16 01:38:23 +0000
commitec4503efde47d00e1f0aaa9dd1733cea98431b41 (patch)
tree7c8bec2eac634a678ba2373124332e33ec5f719f /engines/saga
parent0bb109d59df1c9b263d861a7c6512c3e1c4e7b17 (diff)
downloadscummvm-rg350-ec4503efde47d00e1f0aaa9dd1733cea98431b41.tar.gz
scummvm-rg350-ec4503efde47d00e1f0aaa9dd1733cea98431b41.tar.bz2
scummvm-rg350-ec4503efde47d00e1f0aaa9dd1733cea98431b41.zip
Don't draw the scene background when actors are disabled
svn-id: r28912
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/render.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp
index 7a56fc71c5..e006b4a627 100644
--- a/engines/saga/render.cpp
+++ b/engines/saga/render.cpp
@@ -88,7 +88,8 @@ void Render::drawScene() {
if (!(_flags & (RF_DEMO_SUBST | RF_MAP) || _vm->_interface->getMode() == kPanelPlacard)) {
if (_vm->_interface->getFadeMode() != kFadeOut) {
// Display scene background
- _vm->_scene->draw();
+ if (!(_flags & RF_DISABLE_ACTORS))
+ _vm->_scene->draw();
if (_vm->_puzzle->isActive()) {
_vm->_puzzle->movePiece(mousePoint);