From d836a52557469c3d24ee6e95353fdf12724aa393 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sun, 7 Feb 2016 01:10:38 +0100 Subject: [PATCH] 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. --- engines/agi/cycle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp index 17c9c873cce..6c3f2d68251 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();