[Scummvm-cvs-logs] scummvm master -> 5a5783841691882b914e6c6804baf3031e967ace

Strangerke Strangerke at scummvm.org
Thu Feb 20 21:32:53 CET 2014


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:
5a57838416 VOYEUR: Add iForcedDeath as a boot parameter


Commit: 5a5783841691882b914e6c6804baf3031e967ace
    https://github.com/scummvm/scummvm/commit/5a5783841691882b914e6c6804baf3031e967ace
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-20T12:31:19-08:00

Commit Message:
VOYEUR: Add iForcedDeath as a boot parameter

Changed paths:
    engines/voyeur/voyeur.cpp



diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 9731968..3f9e74d 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -40,7 +40,11 @@ VoyeurEngine::VoyeurEngine(OSystem *syst, const VoyeurGameDescription *gameDesc)
 		_defaultFontInfo(3, 0xff, 0xff, 0, 0, ALIGN_LEFT, 0, Common::Point(), 1, 1, 
 			Common::Point(1, 1), 1, 0, 0) {
 	_bVoy = NULL;
-	_iForceDeath = -1;
+
+	_iForceDeath = ConfMan.getInt("boot_param");
+	if (_iForceDeath < 1 || _iForceDeath > 4)
+		_iForceDeath = -1;
+
 	_controlPtr = NULL;
 	_stampFlags = 0;
 	_playStampGroupId = _currentVocId = 0;






More information about the Scummvm-git-logs mailing list