diff options
author | Paul Gilbert | 2014-01-17 23:19:54 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-01-17 23:19:54 -0500 |
commit | 7ad8dfa0a720ea5b7db502424ba73fb7059824b6 (patch) | |
tree | 46ffca9cb0b3f19b4e0bdfde68912c6c4e4e2fc8 | |
parent | 829de693ef90fd6381ab6525158d1a38d9df6d3d (diff) | |
download | scummvm-rg350-7ad8dfa0a720ea5b7db502424ba73fb7059824b6.tar.gz scummvm-rg350-7ad8dfa0a720ea5b7db502424ba73fb7059824b6.tar.bz2 scummvm-rg350-7ad8dfa0a720ea5b7db502424ba73fb7059824b6.zip |
VOYEUR: Fix switching TV watch gossip to reviewing the tape
-rw-r--r-- | engines/voyeur/files_threads.cpp | 8 | ||||
-rw-r--r-- | engines/voyeur/voyeur_game.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 4b074720c0..850e6dfa06 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -388,7 +388,7 @@ void ThreadResource::parsePlayCommands() { _vm->_graphicsManager._backColors->startFade(); _vm->flipPageAndWaitForFade(); - _vm->_voy._field478 = -2; + _vm->_voy._field478 &= ~1; _vm->_soundManager.setVOCOffset(_vm->_voy._vocSecondsOffset * 11025); Common::String filename = _vm->_soundManager.getVOCFileName( _vm->_videoId + 159); @@ -407,7 +407,7 @@ void ThreadResource::parsePlayCommands() { _vm->_eventsManager.incrementTime(1); _vm->_bVoy->freeBoltGroup(0x7F00); - _vm->_voy._field478 = -17; + _vm->_voy._field478 &= ~0x10; _vm->_videoId = -1; _vm->_voy._field470 = 129; parseIndex = 999; @@ -628,7 +628,7 @@ void ThreadResource::parsePlayCommands() { break; case 11: - _vm->_voy._field478 = 2; + _vm->_voy._field478 |= 2; break; case 12: @@ -1085,7 +1085,7 @@ int ThreadResource::doApt() { // Cursor is within hotspot area hotspotId = idx; - if (idx != prevHotspotId) { + if (hotspotId != prevHotspotId) { // Check for whether to replace hotspot Id for "Watch TV" for // "Review the Tape" if player has already watched the TV if ((_vm->_voy._field478 & 0x100) && (hotspotId == 2)) diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index 57a08b7d2d..ca8737389a 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -87,7 +87,7 @@ void VoyeurEngine::playStamp() { doGossip(); _voy._field46E = true; _voy._field472 = 141; - _voy._field478 = -1; + _voy._field478 &= ~0x100; break; default: break; |