From a9441186b759ceb6455ed9168cf6037a7538dbb9 Mon Sep 17 00:00:00 2001 From: upthorn Date: Wed, 27 Jun 2012 21:34:20 -0700 Subject: COMPOSER: Better spacing of autosaves --- engines/composer/saveload.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/composer') diff --git a/engines/composer/saveload.cpp b/engines/composer/saveload.cpp index f0cf4210ac..919fd0d4e6 100644 --- a/engines/composer/saveload.cpp +++ b/engines/composer/saveload.cpp @@ -366,6 +366,10 @@ Common::Error ComposerEngine::loadGameState(int slot) { if (!_mixer->isSoundHandleActive(_soundHandle)) _mixer->playStream(Audio::Mixer::kSFXSoundType, &_soundHandle, _audioStream); + + // Reset autosave duration on load + _lastSaveTime = _system->getMillis(); + return Common::kNoError; } -- cgit v1.2.3