diff options
author | Martin Kiewitz | 2016-02-07 01:10:38 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-07 01:10:38 +0100 |
commit | d836a52557469c3d24ee6e95353fdf12724aa393 (patch) | |
tree | 1a64cd9fc931e98343d265ddb6edcb0409b57b88 | |
parent | c43ee3a7a5af5b6ff8b36de3d53fd267ded7caa0 (diff) | |
download | scummvm-rg350-d836a52557469c3d24ee6e95353fdf12724aa393.tar.gz scummvm-rg350-d836a52557469c3d24ee6e95353fdf12724aa393.tar.bz2 scummvm-rg350-d836a52557469c3d24ee6e95353fdf12724aa393.zip |
AGI: Do not set TIME_DELAY at all on restart
Original AGI did not do it and it would ruin the game speed of
at least Larry on Apple IIgs after dying.
-rw-r--r-- | engines/agi/cycle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp index 17c9c873cc..6c3f2d6825 100644 --- a/engines/agi/cycle.cpp +++ b/engines/agi/cycle.cpp @@ -306,7 +306,7 @@ int AgiEngine::playGame() { setFlag(VM_FLAG_LOGIC_ZERO_FIRST_TIME, true); // not in 2.917 setFlag(VM_FLAG_NEW_ROOM_EXEC, true); // needed for MUMG and SQ2! setFlag(VM_FLAG_SOUND_ON, true); // enable sound - setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed + // do not set VM_VAR_TIME_DELAY, original AGI did not do it (in the data segment it was simply set to 0) _game.gfxMode = true; _text->promptRow_Set(22); @@ -396,7 +396,7 @@ int AgiEngine::runGame() { if (_restartGame) { setFlag(VM_FLAG_RESTART_GAME, true); - setVar(VM_VAR_TIME_DELAY, 2); // "normal" speed + // do not set VM_VAR_TIME_DELAY, original AGI did not do it // Reset in-game timer inGameTimerReset(); |