From 7b40f36ef1d40aabba6f96a3cb9281ce25bea419 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 16 Feb 2011 23:26:43 +1100 Subject: TSAGE: Rework the logic for showing the cursor in new scenes.cpp I'm still not completely happy with how it's implemented, and the original code is very obtuse when it comes to cursor display; it will likely need further investigation later on so the cursor doesn't appear in cut-scene scenes --- engines/tsage/events.cpp | 2 -- engines/tsage/scenes.cpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/tsage/events.cpp b/engines/tsage/events.cpp index 5348935dd9..2b27fa74a3 100644 --- a/engines/tsage/events.cpp +++ b/engines/tsage/events.cpp @@ -139,8 +139,6 @@ void EventsClass::setCursor(CursorType cursorType) { if (cursorType != CURSOR_ARROW) _currentCursor = cursorType; - if (!CursorMan.isVisible()) - showCursor(); const byte *cursor; bool delFlag = true; diff --git a/engines/tsage/scenes.cpp b/engines/tsage/scenes.cpp index d8aa80bdf2..4a6d7f8d8a 100644 --- a/engines/tsage/scenes.cpp +++ b/engines/tsage/scenes.cpp @@ -297,6 +297,8 @@ void Scene::loadSceneData(int sceneNum) { // Load the background for the scene loadBackground(0, 0); + + _globals->_events.showCursor(); } void Scene::loadBackground(int xAmount, int yAmount) { -- cgit v1.2.3