[Scummvm-cvs-logs] scummvm master -> bac534438515153bef88445a5c23b595bd4f0767

dreammaster dreammaster at scummvm.org
Sun Aug 16 21:06:50 CEST 2015


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:
bac5344385 SHERLOCK: RT: Don't allow saving the game during the intro


Commit: bac534438515153bef88445a5c23b595bd4f0767
    https://github.com/scummvm/scummvm/commit/bac534438515153bef88445a5c23b595bd4f0767
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-08-16T15:06:14-04:00

Commit Message:
SHERLOCK: RT: Don't allow saving the game during the intro

Changed paths:
    engines/sherlock/tattoo/tattoo.cpp



diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index 66bba31..bfb3556 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -201,7 +201,7 @@ void TattooEngine::saveConfig() {
 
 bool TattooEngine::canSaveGameStateCurrently() {
 	TattooUserInterface &ui = *(TattooUserInterface *)_ui;
-	return _canLoadSave && !ui._creditsWidget.active();
+	return _canLoadSave && !ui._creditsWidget.active() && !_runningProlog;
 }
 
 } // End of namespace Tattoo






More information about the Scummvm-git-logs mailing list