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

dreammaster dreammaster at scummvm.org
Sat Oct 24 22:33:57 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:
faff6b534d MADS: Don't show protection dialog when resuming game from in-game menu


Commit: faff6b534def656444cac5f33d14368f8cdb3bd5
    https://github.com/scummvm/scummvm/commit/faff6b534def656444cac5f33d14368f8cdb3bd5
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-10-24T16:32:46-04:00

Commit Message:
MADS: Don't show protection dialog when resuming game from in-game menu

Changed paths:
    engines/mads/nebular/game_nebular.cpp



diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp
index e8e0a4f..8f40bc1 100644
--- a/engines/mads/nebular/game_nebular.cpp
+++ b/engines/mads/nebular/game_nebular.cpp
@@ -118,6 +118,10 @@ void GameNebular::startGame() {
 
 	initializeGlobals();
 
+	if (_loadGameSlot >= 0)
+		// User selected to resume a savegame
+		return;
+
 	// Check copy protection
 	ProtectionResult protectionResult = checkCopyProtection();
 






More information about the Scummvm-git-logs mailing list