diff options
author | Paul Gilbert | 2011-02-16 23:26:43 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-02-16 23:26:43 +1100 |
commit | 7b40f36ef1d40aabba6f96a3cb9281ce25bea419 (patch) | |
tree | 474771af5023d2531ec2d3e06cf97c19332b7f0f /engines/tsage | |
parent | 60d639f366318b80c061edabb8b3f2e97a3f54e6 (diff) | |
download | scummvm-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.cpp | 2 | ||||
-rw-r--r-- | 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) { |