[Scummvm-cvs-logs] scummvm master -> 74fbd2de82ebc255968b754ec91e005ab4123cdc
dreammaster
dreammaster at scummvm.org
Wed Jan 15 02:13:16 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
74fbd2de82 TSAGE: Fix for R2R cursor closing dialogs on title screen
Commit: 74fbd2de82ebc255968b754ec91e005ab4123cdc
https://github.com/scummvm/scummvm/commit/74fbd2de82ebc255968b754ec91e005ab4123cdc
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-01-14T17:12:38-08:00
Commit Message:
TSAGE: Fix for R2R cursor closing dialogs on title screen
Changed paths:
engines/tsage/ringworld2/ringworld2_dialogs.cpp
engines/tsage/ringworld2/ringworld2_logic.cpp
diff --git a/engines/tsage/ringworld2/ringworld2_dialogs.cpp b/engines/tsage/ringworld2/ringworld2_dialogs.cpp
index a0675bc..eb15585 100644
--- a/engines/tsage/ringworld2/ringworld2_dialogs.cpp
+++ b/engines/tsage/ringworld2/ringworld2_dialogs.cpp
@@ -384,6 +384,8 @@ void HelpDialog::show() {
// If a action button was selected, dispatch to handle it
if (evt.kbd.keycode != Common::KEYCODE_INVALID)
R2_GLOBALS._game->processEvent(evt);
+ else
+ R2_GLOBALS._events.setCursorFromFlag();
}
HelpDialog::HelpDialog() {
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index ef212bc..39e3980 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -1128,7 +1128,6 @@ void Ringworld2Game::start() {
R2_GLOBALS._sceneHandler->_loadGameSlot = slot;
else {
// Switch to the first title screen
- R2_GLOBALS._events.setCursor(CURSOR_WALK);
R2_GLOBALS._uiElements._active = true;
R2_GLOBALS._sceneManager.setNewScene(180);
}
More information about the Scummvm-git-logs
mailing list