VOYEUR: Refactored audio scene playback, and fixed a crash at the end
This commit is contained in:
parent
37402e06e5
commit
256bf62ee4
2 changed files with 2 additions and 2 deletions
|
@ -391,6 +391,7 @@ void ThreadResource::parsePlayCommands() {
|
|||
_vm->_voy.addAudioEventEnd();
|
||||
_vm->_eventsManager.incrementTime(1);
|
||||
_vm->_eventsManager.incrementTime(1);
|
||||
_vm->_audioVideoId = -1;
|
||||
parseIndex = 999;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -621,10 +621,9 @@ void VoyeurEngine::playAudio(int audioId) {
|
|||
_soundManager.stopVOCPlay();
|
||||
|
||||
_bVoy->freeBoltGroup(0x7F00);
|
||||
flipPageAndWait();
|
||||
(*_graphicsManager._vPort)->setupViewPort(NULL);
|
||||
|
||||
_voy._field478 &= ~0x10;
|
||||
audioId = -1;
|
||||
_voy._field470 = 129;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue