aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-03-01 00:04:43 +0100
committerStrangerke2014-03-01 00:04:43 +0100
commit7efe29249bfa360d908c7b401e4ad061e8047c8f (patch)
tree0b4d5a0ea22df8310bd9617b5ccf83b237d71532 /engines/voyeur
parentc456b0e0e3f22333c0267692fe939b648e7a96c1 (diff)
downloadscummvm-rg350-7efe29249bfa360d908c7b401e4ad061e8047c8f.tar.gz
scummvm-rg350-7efe29249bfa360d908c7b401e4ad061e8047c8f.tar.bz2
scummvm-rg350-7efe29249bfa360d908c7b401e4ad061e8047c8f.zip
VOYEUR: Match the original and test _iForcedDeath after doHeadTitle()
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/voyeur.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index bc93acded6..0ce1084ff4 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -89,12 +89,13 @@ Common::Error VoyeurEngine::run() {
ESP_Init();
globalInitBolt();
- // The original allows the victim to be explicitly specified via the command line.
- // This is possible in ScummVM by using a boot parameter.
- if (_iForceDeath >= 1 && _iForceDeath <= 4)
- _voy->_eventFlags |= EVTFLAG_VICTIM_PRESET;
-
if (doHeadTitle()) {
+ // The original allows the victim to be explicitly specified via the command line.
+ // This is possible in ScummVM by using a boot parameter.
+ if (_iForceDeath >= 1 && _iForceDeath <= 4)
+ _voy->_eventFlags |= EVTFLAG_VICTIM_PRESET;
+
+
playStamp();
if (!shouldQuit())
doTailTitle();