aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorPaul Gilbert2014-01-03 14:40:14 -1000
committerPaul Gilbert2014-01-03 14:40:14 -1000
commit3672e3fa16c976c048e5221790e4e8e7e3627808 (patch)
treebe6ff7eb469fb92d6d9cd53b77b177c78ace954b /engines/voyeur
parentbbecd20818f96b0128dfb0a5fb539fe3bcc4d2d5 (diff)
downloadscummvm-rg350-3672e3fa16c976c048e5221790e4e8e7e3627808.tar.gz
scummvm-rg350-3672e3fa16c976c048e5221790e4e8e7e3627808.tar.bz2
scummvm-rg350-3672e3fa16c976c048e5221790e4e8e7e3627808.zip
VOYEUR: Fix parsePlayCommands case 3 setting Video Id correctly
Diffstat (limited to 'engines/voyeur')
-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 4adf4d7216..2b791c43ab 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -427,7 +427,7 @@ void ThreadResource::parsePlayCommands() {
v2 = READ_LE_UINT16(dataP);
if (v2 == 0 || READ_LE_UINT16(_vm->_controlPtr->_ptr + 4) == 0) {
- _vm->_videoId = READ_LE_UINT16(dataP + 2);
+ _vm->_videoId = READ_LE_UINT16(dataP + 2) - 1;
_vm->_voy._field468 = READ_LE_UINT16(dataP + 4);
_vm->_voy._field46A = READ_LE_UINT16(dataP + 6);