diff options
author | Travis Howell | 2003-12-15 05:16:34 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-15 05:16:34 +0000 |
commit | 60682d0598688988179761c2969a96af992b3b81 (patch) | |
tree | 7f3b9842e385e4952ae7f8d94f844bed7450df02 /scumm | |
parent | 4179f389ccb336746c9b51f6b8cd4d2d804c011b (diff) | |
download | scummvm-rg350-60682d0598688988179761c2969a96af992b3b81.tar.gz scummvm-rg350-60682d0598688988179761c2969a96af992b3b81.tar.bz2 scummvm-rg350-60682d0598688988179761c2969a96af992b3b81.zip |
Detect restart key in v1-v2 games and use confirmation.
svn-id: r11648
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index a6c2ccf3bf..a986821294 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1841,7 +1841,8 @@ void ScummEngine::processKbd() { } #endif - if (VAR_RESTART_KEY != 0xFF && _lastKeyHit == VAR(VAR_RESTART_KEY)) { + if (VAR_RESTART_KEY != 0xFF && _lastKeyHit == VAR(VAR_RESTART_KEY) || + (_version <= 2 && _lastKeyHit == 8)) { confirmrestartDialog(); return; } |