diff options
author | Paul Gilbert | 2017-12-16 17:49:33 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-12-16 17:49:33 -0500 |
commit | 8c850f82ec04f971dfcaadee22adb4b8dbceffb5 (patch) | |
tree | ac931bb8d17ec6a8bcdb51f4efc85b97e9109996 | |
parent | d0d27928f1c5d38d380e0eb1dd5dc4ecbbdadb75 (diff) | |
download | scummvm-rg350-8c850f82ec04f971dfcaadee22adb4b8dbceffb5.tar.gz scummvm-rg350-8c850f82ec04f971dfcaadee22adb4b8dbceffb5.tar.bz2 scummvm-rg350-8c850f82ec04f971dfcaadee22adb4b8dbceffb5.zip |
TSAGE: R2R: Clicking F5 fro Options dialog
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_logic.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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(); |