diff options
author | Paul Gilbert | 2014-02-03 22:02:28 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-03 22:02:28 -0500 |
commit | d3f4156e6a7c4aac33224bbfc8e0f859401b51ed (patch) | |
tree | 8d9947ddc9b68a6e8cc7bdd4d4bbcc8436c08d20 /engines/voyeur/events.cpp | |
parent | 683ef9d50f49c989c6bb4df15e16bcb7c33e1980 (diff) | |
download | scummvm-rg350-d3f4156e6a7c4aac33224bbfc8e0f859401b51ed.tar.gz scummvm-rg350-d3f4156e6a7c4aac33224bbfc8e0f859401b51ed.tar.bz2 scummvm-rg350-d3f4156e6a7c4aac33224bbfc8e0f859401b51ed.zip |
VOYEUR: Clean up, commenting, and bugfixes for checking for murder
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r-- | engines/voyeur/events.cpp | 6 |
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; } } } |