aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-31 22:20:30 +1100
committerPaul Gilbert2012-01-31 22:20:30 +1100
commite4e7827f776eb3f013d047544938a617dde6aae0 (patch)
tree856e9bafb0fbdec906670cfd143890070d701a31 /engines
parent4dffd4c1db122553795390ffed9d7776e20bc329 (diff)
downloadscummvm-rg350-e4e7827f776eb3f013d047544938a617dde6aae0.tar.gz
scummvm-rg350-e4e7827f776eb3f013d047544938a617dde6aae0.tar.bz2
scummvm-rg350-e4e7827f776eb3f013d047544938a617dde6aae0.zip
TSAGE: Properly handle resetting flags when leaving a scene
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/scenes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp
index 9d75808dbf..c091afe34c 100644
--- a/engines/tsage/scenes.cpp
+++ b/engines/tsage/scenes.cpp
@@ -164,7 +164,7 @@ void SceneManager::changeScene(int newSceneNumber) {
sceneObj->setObjectWrapper(NULL);
sceneObj->animate(ANIM_MODE_NONE, 0);
- sceneObj->_flags &= !OBJFLAG_PANES;
+ sceneObj->_flags &= ~OBJFLAG_PANES;
}
// Blank out the screen