aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-02-16 23:26:43 +1100
committerPaul Gilbert2011-02-16 23:26:43 +1100
commit7b40f36ef1d40aabba6f96a3cb9281ce25bea419 (patch)
tree474771af5023d2531ec2d3e06cf97c19332b7f0f /engines/tsage
parent60d639f366318b80c061edabb8b3f2e97a3f54e6 (diff)
downloadscummvm-rg350-7b40f36ef1d40aabba6f96a3cb9281ce25bea419.tar.gz
scummvm-rg350-7b40f36ef1d40aabba6f96a3cb9281ce25bea419.tar.bz2
scummvm-rg350-7b40f36ef1d40aabba6f96a3cb9281ce25bea419.zip
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
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/events.cpp2
-rw-r--r--engines/tsage/scenes.cpp2
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) {