aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/dialogs.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-11 20:28:30 +1000
committerPaul Gilbert2011-05-11 20:28:30 +1000
commit2b112a9c587c82af3b5df3b63e6eaa51401e6c37 (patch)
treed4c031855d7d00a9d75ba7f04386f00e5b1bbe84 /engines/tsage/dialogs.cpp
parente448ad0f5dbaa0a5ad5e82bfbccda32df25956dd (diff)
downloadscummvm-rg350-2b112a9c587c82af3b5df3b63e6eaa51401e6c37.tar.gz
scummvm-rg350-2b112a9c587c82af3b5df3b63e6eaa51401e6c37.tar.bz2
scummvm-rg350-2b112a9c587c82af3b5df3b63e6eaa51401e6c37.zip
TSAGE: Rework parts of the cursor code to better match the original
This also fixes the problem with the cursor appearing in cutscenes when you press any key
Diffstat (limited to 'engines/tsage/dialogs.cpp')
-rw-r--r--engines/tsage/dialogs.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tsage/dialogs.cpp b/engines/tsage/dialogs.cpp
index f8e35f74f9..4eb35d9d44 100644
--- a/engines/tsage/dialogs.cpp
+++ b/engines/tsage/dialogs.cpp
@@ -73,12 +73,11 @@ MessageDialog::MessageDialog(const Common::String &message, const Common::String
int MessageDialog::show(const Common::String &message, const Common::String &btn1Message, const Common::String &btn2Message) {
// Ensure that the cursor is the arrow
- _globals->_events.pushCursor(CURSOR_ARROW);
- _globals->_events.showCursor();
+ _globals->_events.setCursor(CURSOR_ARROW);
int result = show2(message, btn1Message, btn2Message);
- _globals->_events.popCursor();
+ _globals->_events.setCursorFromFlag();
return result;
}