[Scummvm-git-logs] scummvm master -> 492605025c60866d21a4099abc00648978adeedd

dreammaster dreammaster at scummvm.org
Fri Apr 13 01:20:06 CEST 2018


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:
492605025c MADS: NEBULAR: Disable the copy protection dialog by default


Commit: 492605025c60866d21a4099abc00648978adeedd
    https://github.com/scummvm/scummvm/commit/492605025c60866d21a4099abc00648978adeedd
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-12T19:19:00-04:00

Commit Message:
MADS: NEBULAR: Disable the copy protection dialog by default

The GOG release is confirmed as having it disabled, so ScummVM
will do likewise and have it disabled by default

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 1db5eae..9940274 100644
--- a/engines/mads/nebular/game_nebular.cpp
+++ b/engines/mads/nebular/game_nebular.cpp
@@ -45,8 +45,9 @@ GameNebular::GameNebular(MADSEngine *vm)
 }
 
 ProtectionResult GameNebular::checkCopyProtection() {
-	//if (!ConfMan.getBool("copy_protection"))
-	//	return PROTECTION_SUCCEED;
+	// Only show copy protection dialog if explicitly wanted
+	if (!ConfMan.getBool("copy_protection"))
+		return PROTECTION_SUCCEED;
 
 	CopyProtectionDialog *dlg;
 	bool correctAnswer;





More information about the Scummvm-git-logs mailing list