[Scummvm-git-logs] scummvm master -> 8c850f82ec04f971dfcaadee22adb4b8dbceffb5

dreammaster dreammaster at scummvm.org
Sat Dec 16 23:49:55 CET 2017


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:
8c850f82ec TSAGE: R2R: Clicking F5 fro Options dialog


Commit: 8c850f82ec04f971dfcaadee22adb4b8dbceffb5
    https://github.com/scummvm/scummvm/commit/8c850f82ec04f971dfcaadee22adb4b8dbceffb5
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-12-16T17:49:33-05:00

Commit Message:
TSAGE: R2R: Clicking F5 fro Options dialog

Changed paths:
    engines/tsage/ringworld2/ringworld2_logic.cpp


diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index f54efb5..654021b 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -1224,6 +1224,13 @@ void Ringworld2Game::processEvent(Event &event) {
 			R2_GLOBALS._events.setCursorFromFlag();
 			break;
 
+		case Common::KEYCODE_F5:
+			// F5 - Save
+			saveGame();
+			R2_GLOBALS._events.setCursorFromFlag();
+			event.handled = true;
+			break;
+
 		case Common::KEYCODE_F7:
 			// F7 - Restore
 			restoreGame();





More information about the Scummvm-git-logs mailing list