diff options
author | Paul Gilbert | 2018-03-03 22:15:50 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-03-03 22:15:50 -0500 |
commit | fbe489e66902304b188ec8b42e4963696d487bdf (patch) | |
tree | 025dd719401dfbdb3b0e84f1d710067620761b0d /engines/xeen/worldofxeen | |
parent | 633c1a477d91e4953476190beeb8db4f4dafc029 (diff) | |
download | scummvm-rg350-fbe489e66902304b188ec8b42e4963696d487bdf.tar.gz scummvm-rg350-fbe489e66902304b188ec8b42e4963696d487bdf.tar.bz2 scummvm-rg350-fbe489e66902304b188ec8b42e4963696d487bdf.zip |
XEEN: Fix loading saves from main menus and launcher
Diffstat (limited to 'engines/xeen/worldofxeen')
-rw-r--r-- | engines/xeen/worldofxeen/worldofxeen_menu.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen_menu.cpp b/engines/xeen/worldofxeen/worldofxeen_menu.cpp index 42a55885a0..7f5e7f35c1 100644 --- a/engines/xeen/worldofxeen/worldofxeen_menu.cpp +++ b/engines/xeen/worldofxeen/worldofxeen_menu.cpp @@ -94,7 +94,7 @@ void WorldOfXeenMenu::execute() { int key = toupper(_buttonValue); _buttonValue = 0; - if (key == 27) { + if (key == Common::KEYCODE_ESCAPE) { // Hide the options menu closeWindow(); break; @@ -115,6 +115,12 @@ void WorldOfXeenMenu::execute() { _vm->_gameMode = GMODE_PLAY_GAME; closeWindow(); return; + } else if (key == 'L') { + _vm->_saves->newGame(); + if (_vm->_saves->loadGame()) { + _vm->_gameMode = GMODE_PLAY_GAME; + break; + } } } } |