aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-12-01 22:47:06 +1100
committerPaul Gilbert2011-12-01 22:54:08 +1100
commit196a30754e70d925c60632fa63b7f80953fef515 (patch)
treefdab86b6c71cb1a14d8a4ef86c96752d4f9ea117
parentdc38524c9177429140bdebb5b0dbcd568faea2df (diff)
downloadscummvm-rg350-196a30754e70d925c60632fa63b7f80953fef515.tar.gz
scummvm-rg350-196a30754e70d925c60632fa63b7f80953fef515.tar.bz2
scummvm-rg350-196a30754e70d925c60632fa63b7f80953fef515.zip
TSAGE: R2R scene areas shouldn't be processed when the player is disabled
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index e9e205bda2..079ac62928 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -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) {