diff options
author | Max Horn | 2003-05-13 17:51:56 +0000 |
---|---|---|
committer | Max Horn | 2003-05-13 17:51:56 +0000 |
commit | 2838aae2f4e9f94ef5a81770ba5cb7297e8cb3e9 (patch) | |
tree | ccc915100e9abd3471ee4a3498cc4d9343b058ea /scumm/scummvm.cpp | |
parent | cb8d07fd62a185e73b726baebd749f4bcb8872fb (diff) | |
download | scummvm-rg350-2838aae2f4e9f94ef5a81770ba5cb7297e8cb3e9.tar.gz scummvm-rg350-2838aae2f4e9f94ef5a81770ba5cb7297e8cb3e9.tar.bz2 scummvm-rg350-2838aae2f4e9f94ef5a81770ba5cb7297e8cb3e9.zip |
renamed VAR_UNK_SCRIPT to VAR_SAVELOAD_SCRIPT; fixed V8 save/load (no (known) VAR_SAVELOAD_SCRIPT value for V8)
svn-id: r7485
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 3db0581bf4..892b9bdd56 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -501,8 +501,8 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst) VAR_RIGHTBTN_HOLD = 0xFF; VAR_MOUSE_BUTTONS = 0xFF; VAR_MOUSE_HOLD = 0xFF; - VAR_UNK_SCRIPT = 0xFF; - VAR_UNK_SCRIPT_2 = 0xFF; + VAR_SAVELOAD_SCRIPT = 0xFF; + VAR_SAVELOAD_SCRIPT2 = 0xFF; VAR_DEFAULT_TALK_DELAY = 0xFF; VAR_CHARSET_MASK = 0xFF; @@ -1767,13 +1767,13 @@ void Scumm::processKbd() { } else exitCutscene(); } else if (_lastKeyHit == saveloadkey && _currentRoom != 0) { - if (_features & GF_AFTER_V7) - runScript(VAR(VAR_UNK_SCRIPT), 0, 0, 0); + if (VAR_SAVELOAD_SCRIPT != 0xFF) + runScript(VAR(VAR_SAVELOAD_SCRIPT), 0, 0, 0); saveloadDialog(); // Display NewGui - if (_features & GF_AFTER_V7) - runScript(VAR(VAR_UNK_SCRIPT_2), 0, 0, 0); + if (VAR_SAVELOAD_SCRIPT2 != 0xFF) + runScript(VAR(VAR_SAVELOAD_SCRIPT2), 0, 0, 0); return; } else if (VAR_TALKSTOP_KEY != 0xFF && _lastKeyHit == VAR(VAR_TALKSTOP_KEY)) { _talkDelay = 0; |