diff options
author | upthorn | 2012-06-27 21:34:20 -0700 |
---|---|---|
committer | angstsmurf | 2016-10-18 02:12:34 +0200 |
commit | a9441186b759ceb6455ed9168cf6037a7538dbb9 (patch) | |
tree | 5b3343dfb266863cdceabcfd7ffea23b04a08123 | |
parent | 483cad039efec6ba28962e0a93e1e6a417487bf4 (diff) | |
download | scummvm-rg350-a9441186b759ceb6455ed9168cf6037a7538dbb9.tar.gz scummvm-rg350-a9441186b759ceb6455ed9168cf6037a7538dbb9.tar.bz2 scummvm-rg350-a9441186b759ceb6455ed9168cf6037a7538dbb9.zip |
COMPOSER: Better spacing of autosaves
-rw-r--r-- | engines/composer/saveload.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |