TSAGE: Properly handle resetting flags when leaving a scene

This commit is contained in:
Paul Gilbert 2012-01-31 22:20:30 +11:00
parent 4dffd4c1db
commit e4e7827f77

View File

@ -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