aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-01-31 22:07:44 -0500
committerPaul Gilbert2014-01-31 22:07:44 -0500
commitda977f05f6743c56f44783c46a753a8abe306f58 (patch)
treef052dd38213c5e8e67f9890db9130784f05afd8e
parentf31a422ddfb97efbdec5d0f69b4c4e81b571b5f7 (diff)
downloadscummvm-rg350-da977f05f6743c56f44783c46a753a8abe306f58.tar.gz
scummvm-rg350-da977f05f6743c56f44783c46a753a8abe306f58.tar.bz2
scummvm-rg350-da977f05f6743c56f44783c46a753a8abe306f58.zip
VOYEUR: Fix review tape entries when more than a page is available
-rw-r--r--engines/voyeur/voyeur_game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp
index 939bc350df..2d80daec9e 100644
--- a/engines/voyeur/voyeur_game.cpp
+++ b/engines/voyeur/voyeur_game.cpp
@@ -664,7 +664,7 @@ void VoyeurEngine::reviewTape() {
VoyeurEvent &e = _voy._events[eventIndex];
switch (e._type) {
case EVTYPE_VIDEO:
- playAVideoEvent(eventLine);
+ playAVideoEvent(eventIndex);
break;
case EVTYPE_AUDIO: {
@@ -705,7 +705,7 @@ void VoyeurEngine::reviewTape() {
case EVTYPE_EVID:
_bVoy->freeBoltGroup(0x900);
- _voy.reviewAnEvidEvent(eventLine);
+ _voy.reviewAnEvidEvent(eventIndex);
_voy._vocSecondsOffset = _voy._RTVNum - _voy._field4AC;
_soundManager.stopVOCPlay();
@@ -714,7 +714,7 @@ void VoyeurEngine::reviewTape() {
case EVTYPE_COMPUTER:
_bVoy->freeBoltGroup(0x900);
- _voy.reviewComputerEvent(eventLine);
+ _voy.reviewComputerEvent(eventIndex);
_voy._vocSecondsOffset = _voy._RTVNum - _voy._field4AC;
_soundManager.stopVOCPlay();