From 8c850f82ec04f971dfcaadee22adb4b8dbceffb5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 16 Dec 2017 17:49:33 -0500 Subject: TSAGE: R2R: Clicking F5 fro Options dialog --- engines/tsage/ringworld2/ringworld2_logic.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/tsage') diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp index f54efb5a8a..654021b7bc 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(); -- cgit v1.2.3