[Scummvm-git-logs] scummvm master -> 6116e3cccc1da905b8ae530702a00570461a6482

Die4Ever noreply at scummvm.org
Fri Dec 31 04:22:58 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6116e3cccc GROOVIE: autosave after puzzle completion


Commit: 6116e3cccc1da905b8ae530702a00570461a6482
    https://github.com/scummvm/scummvm/commit/6116e3cccc1da905b8ae530702a00570461a6482
Author: Die4Ever (die4ever2005 at gmail.com)
Date: 2021-12-30T22:22:53-06:00

Commit Message:
GROOVIE: autosave after puzzle completion

Changed paths:
    engines/groovie/script.cpp


diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 5e6b35ab4a5..0df5d16681c 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -1892,6 +1892,10 @@ void Script::o_returnscript() {
 
 	_vm->_videoPlayer->resetFlags();
 	_vm->_videoPlayer->setOrigin(0, 0);
+
+	if (canDirectSave()) {
+		_vm->saveAutosaveIfEnabled();
+	}
 }
 
 void Script::o_sethotspotright() {




More information about the Scummvm-git-logs mailing list