aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/voyeur/voyeur.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 9731968aaf..3f9e74d4b1 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;