Skip to content

Commit

Permalink
VOYEUR: Add iForcedDeath as a boot parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Feb 20, 2014
1 parent 906140e commit 5a57838
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engines/voyeur/voyeur.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 5a57838

Please sign in to comment.