mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 05:34:00 +00:00
Fix for bug #2954279 "KYRA: Error when loading non-existent savegame".
svn-id: r48089
This commit is contained in:
parent
8502d9248e
commit
049b4384bc
@ -266,7 +266,8 @@ int KyraEngine_v1::checkInput(Button *buttonList, bool mainLoop, int eventFlag)
|
||||
int saveLoadSlot = 9 - (event.kbd.keycode - Common::KEYCODE_0) + 990;
|
||||
|
||||
if (event.kbd.flags == Common::KBD_CTRL) {
|
||||
loadGameStateCheck(saveLoadSlot);
|
||||
if (saveFileLoadable(saveLoadSlot))
|
||||
loadGameStateCheck(saveLoadSlot);
|
||||
_eventList.clear();
|
||||
breakLoop = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user