aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorupthorn2012-06-27 21:34:20 -0700
committerangstsmurf2016-10-18 02:12:34 +0200
commita9441186b759ceb6455ed9168cf6037a7538dbb9 (patch)
tree5b3343dfb266863cdceabcfd7ffea23b04a08123 /engines
parent483cad039efec6ba28962e0a93e1e6a417487bf4 (diff)
downloadscummvm-rg350-a9441186b759ceb6455ed9168cf6037a7538dbb9.tar.gz
scummvm-rg350-a9441186b759ceb6455ed9168cf6037a7538dbb9.tar.bz2
scummvm-rg350-a9441186b759ceb6455ed9168cf6037a7538dbb9.zip
COMPOSER: Better spacing of autosaves
Diffstat (limited to 'engines')
-rw-r--r--engines/composer/saveload.cpp4
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;
}