aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r--engines/voyeur/events.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index c0f0eb5c68..32ffa1584e 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -111,8 +111,10 @@ void EventsManager::mainVoyeurIntFunc() {
// Increase camera discharge
++_vm->_voy._RTVNum;
- if (_vm->_voy._RTVNum >= _vm->_voy._field4F2)
- _vm->_voy._field4F0 = 1;
+ // If the murder threshold has been set, and is passed, then flag the victim
+ // as murdered, which prevents sending the tape from succeeding
+ if (_vm->_voy._RTVNum >= _vm->_voy._murderThreshold)
+ _vm->_voy._victimMurdered = true;
}
}
}