[Scummvm-cvs-logs] scummvm master -> 9ce7b11a7e288105c26c99fd078365685c267333

Strangerke Strangerke at scummvm.org
Thu Mar 6 20:54:29 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9ce7b11a7e VOYEUR: Fix logical bug related to the computer data and positioning


Commit: 9ce7b11a7e288105c26c99fd078365685c267333
    https://github.com/scummvm/scummvm/commit/9ce7b11a7e288105c26c99fd078365685c267333
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-06T11:52:42-08:00

Commit Message:
VOYEUR: Fix logical bug related to the computer data and positioning

Changed paths:
    engines/voyeur/files_threads.cpp



diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 76063c8..8ea8c0c 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);
 






More information about the Scummvm-git-logs mailing list