From 196a30754e70d925c60632fa63b7f80953fef515 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 1 Dec 2011 22:47:06 +1100 Subject: TSAGE: R2R scene areas shouldn't be processed when the player is disabled --- engines/tsage/ringworld2/ringworld2_logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(R2_GLOBALS._sceneManager._scene); - if (scene) { + if (scene && R2_GLOBALS._player._uiEnabled) { // Handle any scene areas that have been registered SynchronizedList::iterator saIter; for (saIter = scene->_sceneAreas.begin(); saIter != scene->_sceneAreas.end() && !event.handled; ++saIter) { -- cgit v1.2.3