From e4e7827f776eb3f013d047544938a617dde6aae0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 31 Jan 2012 22:20:30 +1100 Subject: TSAGE: Properly handle resetting flags when leaving a scene --- engines/tsage/scenes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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 -- cgit v1.2.3