Skip to content

Commit

Permalink
TSAGE: R2R scene areas shouldn't be processed when the player is disa…
Browse files Browse the repository at this point in the history
…bled
  • Loading branch information
dreammaster committed Dec 1, 2011
1 parent dc38524 commit 196a307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/tsage/ringworld2/ringworld2_logic.cpp
Expand Up @@ -358,7 +358,7 @@ void SceneHandlerExt::process(Event &event) {
}

SceneExt *scene = static_cast<SceneExt *>(R2_GLOBALS._sceneManager._scene);
if (scene) {
if (scene && R2_GLOBALS._player._uiEnabled) {
// Handle any scene areas that have been registered
SynchronizedList<SceneArea *>::iterator saIter;
for (saIter = scene->_sceneAreas.begin(); saIter != scene->_sceneAreas.end() && !event.handled; ++saIter) {
Expand Down

0 comments on commit 196a307

Please sign in to comment.