aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-03-06 20:52:42 +0100
committerStrangerke2014-03-06 20:52:42 +0100
commit9ce7b11a7e288105c26c99fd078365685c267333 (patch)
treec9cf3a8f99c1b6851f4b8a4c983456ecb71e4184
parented52f7160d2d7f385b17b14f75fcae35310e9752 (diff)
downloadscummvm-rg350-9ce7b11a7e288105c26c99fd078365685c267333.tar.gz
scummvm-rg350-9ce7b11a7e288105c26c99fd078365685c267333.tar.bz2
scummvm-rg350-9ce7b11a7e288105c26c99fd078365685c267333.zip
VOYEUR: Fix logical bug related to the computer data and positioning
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 76063c874e..8ea8c0c327 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -622,7 +622,7 @@ void ThreadResource::parsePlayCommands() {
v2 = READ_LE_UINT16(dataP);
if (v2 == 0 || _vm->_controlPtr->_state->_victimIndex == v2) {
- _vm->_voy->_computerTextId = READ_LE_UINT16(dataP + 2);
+ _vm->_voy->_computerTextId = READ_LE_UINT16(dataP + 2) - 1;
_vm->_voy->_computerTimeMin = READ_LE_UINT16(dataP + 4);
_vm->_voy->_computerTimeMax = READ_LE_UINT16(dataP + 6);